soul-enhance
Improve an existing SOUL.md by identifying vague sections, suggesting missing content, and generating calibration examples
Best use case
soul-enhance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
It is a strong fit for teams already working in Codex.
Improve an existing SOUL.md by identifying vague sections, suggesting missing content, and generating calibration examples
Teams using soul-enhance should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/soul-enhance/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How soul-enhance Compares
| Feature / Agent | soul-enhance | Standard Approach |
|---|---|---|
| Platform Support | Codex | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Improve an existing SOUL.md by identifying vague sections, suggesting missing content, and generating calibration examples
Which AI agents support this skill?
This skill is designed for Codex.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# soul-enhance
Improve an existing SOUL.md by identifying vague sections, suggesting missing content, and generating calibration examples.
## Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "improve the soul" → soul quality enhancement
- "soul needs work" → soul refinement trigger
## Behavior
When triggered, this skill analyzes an existing SOUL.md and makes targeted improvements. It does not rewrite the file from scratch — it preserves the author's intent while strengthening weak areas.
### Enhancement Process
1. **Load and validate** the existing SOUL.md (runs soul-validate internally)
2. **Identify improvement targets** from the validation report
3. **Apply enhancements** category by category
4. **Generate companion files** if missing
5. **Report changes** with before/after comparisons
### Enhancement Categories
#### 1. Vague Statement Resolution
Scans for language patterns that are too generic to be useful:
| Vague Pattern | Enhancement Approach |
|--------------|---------------------|
| "I have nuanced views on X" | Ask: "What specifically do you believe about X?" |
| "I value quality" | Ask: "What does quality mean to you? What would you sacrifice for it?" |
| "I'm experienced with Y" | Ask: "How many years? What specifically have you built?" |
| "I believe in best practices" | Ask: "Which practices? Which 'best practices' do you think are wrong?" |
| "I'm passionate about Z" | Replace with concrete opinions about Z |
For each vague statement:
- Prompt the user with a sharpening question
- If interactive, wait for response and incorporate
- If non-interactive, suggest 2-3 specific alternatives based on context
#### 2. Missing Section Generation
For each missing recommended section, generate a draft:
| Missing Section | Generation Strategy |
|----------------|-------------------|
| Boundaries | Infer from opinions — strong opinions imply boundaries |
| Tensions | Find contradictions between stated opinions |
| Vocabulary | Extract signature terms from existing text |
| Pet Peeves | Infer from boundaries and strong opinions |
| Influences | Ask user or leave as TODO |
#### 3. Opinion Strengthening
Opinions must be specific enough to be falsifiable:
```
Before: "I think testing is important"
After: "Integration tests catch more real bugs than unit tests.
80% coverage with real calls beats 95% with mocked everything."
```
For each opinion:
- Check: could someone disagree with this?
- Check: is this specific to this persona or generic?
- If too generic, strengthen with specifics from the existing worldview
#### 4. Vocabulary Extraction
If the vocabulary section is empty or category-level:
1. Scan the entire SOUL.md for terms used in specific ways
2. Identify jargon, metaphors, and signature phrases
3. Add definitions that show personal meaning, not dictionary meaning
```
Before:
## Vocabulary
- Technical terms
After:
## Vocabulary
- **Blast radius**: How many things break when this thing breaks — my primary metric for evaluating changes
- **Yak shaving**: Work that's 3+ steps removed from the actual goal — I kill yak-shaving sessions aggressively
- **Accidental complexity**: Complexity from our tools and choices, not the problem domain — most complexity I encounter is accidental
```
#### 5. Calibration Example Generation
Generate `examples/good-outputs.md` and `examples/bad-outputs.md` from the soul definition:
**good-outputs.md**: 3-5 examples of text that correctly embodies the soul
- Match tone, vocabulary, opinions
- Cover different domains mentioned in the soul
- Include the contradictions/tensions
**bad-outputs.md**: 3-5 anti-examples showing what the soul would NOT produce
- Generic text that could come from anyone
- Text that contradicts stated opinions
- Text that uses avoided vocabulary
- Text that breaks stated boundaries
#### 6. Context Budget Optimization
If the soul file exceeds recommended limits:
- Identify sections that could be more concise
- Suggest moving detailed examples to companion files
- Flag redundancies between sections
- Recommend a target token count per section
## Parameters
| Flag | Description |
|------|-------------|
| `--interactive` | Ask sharpening questions for each vague statement |
| `--sections <list>` | Only enhance specific sections: `--sections "opinions,vocabulary"` |
| `--generate-examples` | Force generation of calibration examples |
| `--dry-run` | Show proposed changes without applying them |
## Output
### Interactive Mode
```
Enhancing SOUL.md...
Found 3 vague statements:
1. Line 14: "I value clean code"
→ What does "clean" mean to you specifically?
→ What would you sacrifice for clean code? What wouldn't you?
User: "Clean means I can read it at 3 AM. I'll sacrifice DRY for readability."
✓ Updated: "Clean code is code I can read at 3 AM during an incident.
I'll sacrifice DRY for readability — duplicated clarity beats obscure abstractions."
2. Line 31: "I have experience with many frameworks"
→ Which frameworks? What did each teach you?
User: "Rails taught me convention, React taught me composition, Django taught me batteries-included"
✓ Updated: "I've built production systems in Rails (conventions),
React (composition), and Django (batteries-included)."
3. Line 45: "I'm interested in distributed systems"
→ What specifically? Consensus? Networking? Data replication?
User: "Consensus algorithms and failure modes"
✓ Updated: "I've spent a decade thinking about consensus algorithms
and the creative ways distributed systems fail."
Missing sections generated:
+ Boundaries (5 items inferred from opinions)
+ Tensions (3 contradictions identified)
Calibration examples:
+ examples/good-outputs.md (4 examples)
+ examples/bad-outputs.md (3 anti-examples)
Score: 5/10 → 8/10
```
### Non-Interactive Mode
```
Enhancing SOUL.md...
Changes applied:
~ Line 14: Strengthened vague opinion (2 alternatives provided, chose first)
~ Line 31: Replaced generic statement with specific alternative
~ Line 45: Sharpened interest description
+ Boundaries section (5 items)
+ Tensions section (3 contradictions)
+ examples/good-outputs.md (4 examples)
+ examples/bad-outputs.md (3 anti-examples)
Score: 5/10 → 8/10
Review changes with: git diff SOUL.md
```
## Integration
### With soul-validate
`soul-enhance` runs `soul-validate` internally as its first step. The validation report drives which enhancements are applied.
### With soul-enable
After enhancement, if soul enforcement is already enabled, the improved SOUL.md is automatically active at the next session — no re-enabling needed.
### With voice-create
If a voice profile exists, `soul-enhance` cross-references it to ensure consistency. If the soul file mentions vocabulary that conflicts with the voice profile's avoid-list, it flags the conflict.
## Examples
```bash
# Full enhancement (interactive)
/soul-enhance --interactive
# Enhance specific sections only
/soul-enhance --sections "opinions,vocabulary,boundaries"
# Generate calibration examples without other changes
/soul-enhance --generate-examples
# Preview changes without applying
/soul-enhance --dry-run
# Enhance an agent soul file
/soul-enhance .claude/agents/test-engineer.soul.md
```
## References
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/soul-validate/SKILL.md — Validation (used internally)
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/soul-create/SKILL.md — Creation skill
- @$AIWG_ROOT/docs/soul-md-guide.md — Integration guide
- #437 — SOUL.md compatibility issue (Phase 2)Related Skills
voice-to-soul
Generate a SOUL.md from an existing AIWG voice profile
soul-validate
Validate a SOUL.md file against community best practices and quality criteria
soul-to-voice
Generate an AIWG voice profile from an existing SOUL.md identity file
soul-status
Show SOUL.md enforcement state across all installed providers with quality check
soul-enable
Enable soul enforcement by wiring SOUL.md into platform context files and deploying the enforcement rule
soul-disable
Disable soul enforcement without deleting SOUL.md or soul files
soul-create
Generate a SOUL.md identity file from source material, interactive prompts, or an existing voice profile
soul-blend
Merge multiple SOUL.md files into a composite persona for team-level agents or multi-perspective characters
soul-apply
Apply a SOUL.md identity to content generation, incorporating worldview, opinions, and character
skill-enhancer
AI-powered enhancement of skill SKILL.md files. Use to transform basic templates into comprehensive, high-quality skill documentation.
aiwg-orchestrate
Route structured artifact work to AIWG workflows via MCP with zero parent context cost
venv-manager
Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.