heal-skill▌
boshu2/agentops · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Purpose: Detect and auto-fix common skill hygiene issues across the skills/ directory.
/heal-skill — Automated Skill Maintenance
Purpose: Detect and auto-fix common skill hygiene issues across the skills/ directory.
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
Quick Start
/heal-skill # Check all skills (report only)
/heal-skill --fix # Auto-repair all fixable issues
/heal-skill --strict # Check all skills, exit 1 on findings (CI mode)
/heal-skill skills/council # Check a specific skill
/heal-skill --fix skills/vibe # Fix a specific skill
What It Detects
Ten checks, run in order:
| Code | Issue | Auto-fixable? |
|---|---|---|
MISSING_NAME |
No name: field in SKILL.md frontmatter |
Yes -- adds name from directory |
MISSING_DESC |
No description: field in SKILL.md frontmatter |
Yes -- adds placeholder |
NAME_MISMATCH |
Frontmatter name differs from directory name |
Yes -- updates to match directory |
UNLINKED_REF |
File in references/ not linked in SKILL.md | Yes -- converts bare backtick refs to markdown links |
EMPTY_DIR |
Skill directory exists but has no SKILL.md | Yes -- removes empty directory |
DEAD_REF |
SKILL.md references a non-existent references/ file | No -- warn only |
SCRIPT_REF_MISSING |
SKILL.md references a scripts/ file that does not exist | No -- warn only |
INVALID_AO_CMD |
SKILL.md references an ao subcommand that does not exist (only runs if ao is on PATH) |
No -- warn only |
DEAD_XREF |
SKILL.md references a /skill-name that has no matching skill directory |
No -- warn only |
CATALOG_MISSING |
A user-invocable skill is missing from the using-agentops catalog | No -- warn only |
Execution Steps
Step 1: Run the heal script
# Check mode (default) -- report only, no changes
bash skills/heal-skill/scripts/heal.sh --check
# Fix mode -- auto-repair what it can
bash skills/heal-skill/scripts/heal.sh --fix
# Target a specific skill
bash skills/heal-skill/scripts/heal.sh --check skills/council
bash skills/heal-skill/scripts/heal.sh --fix skills/council
Step 1A: Audit Codex Parity Drift When The Codex Bundle Looks Wrong
When the problem is not source-skill hygiene but skills-codex/ drift, run the Codex parity audit first:
bash scripts/audit-codex-parity.sh
bash scripts/audit-codex-parity.sh --skill swarm
Use this when a checked-in Codex skill still contains Claude-era primitives (TaskCreate, TaskList, Tool: Task), Claude backend references, or obviously broken runtime rewrites.
Repair rule: keep canonical shared behavior in skills/<name>/SKILL.md. Update skills-codex/<name>/SKILL.md when the shipped Codex artifact is wrong, and keep durable Codex-only tailoring in skills-codex-overrides/<name>/SKILL.md.
After repair:
bash scripts/audit-codex-parity.sh
bash scripts/validate-codex-override-coverage.sh
bash scripts/validate-codex-generated-artifacts.sh --scope worktree
Step 2: Interpret results
- Exit 0: All clean, no findings. Also exit 0 for
--checkmode with findings (report-only). - Exit 1: Findings reported with
--strictor--fixflag. In--fixmode, fixable issues were repaired; re-run--checkto confirm.
Step 3: Report to user
Show the output. If --fix was used, summarize what changed. If DEAD_REF findings remain, advise the user to remove or update the broken references manually.
Output Format
One line per finding:
[MISSING_NAME] skills/foo: No name field in frontmatter
[MISSING_DESC] skills/foo: No description field in frontmatter
[NAME_MISMATCH] skills/foo: Frontmatter name 'bar' != directory 'foo'
[UNLINKED_REF] skills/foo: refs/bar.md not linked in SKILL.md
[EMPTY_DIR] skills/foo: Directory exists but no SKILL.md
[DEAD_REF] skills/foo: SKILL.md links to non-existent refs/bar.md
[SCRIPT_REF_MISSING] skills/foo: references scripts/bar.sh but file not found
[INVALID_AO_CMD] skills/foo: references 'ao badcmd' which is not a valid subcommand
[DEAD_XREF] skills/foo: references /nonexistent but skill directory not found
[CATALOG_MISSING] using-agentops: bar is user-invocable but missing from catalog
Notes
- The script is idempotent -- running
--fixtwice produces the same result. DEAD_REF,SCRIPT_REF_MISSING,INVALID_AO_CMD,DEAD_XREF, andCATALOG_MISSINGare warn-only because the correct resolution requires human judgment.INVALID_AO_CMDonly runs if theaoCLI is available on PATH. Skipped silently otherwise.CATALOG_MISSINGis a global check (not per-skill) and only runs whenusing-agentops/SKILL.mdexists.- When run without a path argument, scans all directories under
skills/. - Use
--strictfor CI gates: exits 1 on any finding. Without--strict, check mode exits 0 even with findings. - For Codex parity drift, use the audit script plus override-layer repair workflow in references/codex-parity.md. The shell fixer is intentionally not allowed to rewrite generated Codex bodies directly.
Examples
Running a health check across all skills
User says: /heal-skill
What happens:
- The heal script scans every directory under
skills/, checking each for the ten issue types (missing name, missing description, name mismatch, unlinked references, empty directories, dead references, script reference integrity, CLI command validation, cross-reference validation, catalog completeness). - Findings are printed one per line with issue codes (e.g.,
[NAME_MISMATCH] skills/foo: Frontmatter name 'bar' != directory 'foo'). - The script exits with code 0 in check mode (even with findings), or code 1 with
--strictor--fixflags.
Result: A diagnostic report showing all skill hygiene issues across the repository, with no files modified.
Auto-fixing a specific skill
User says: /heal-skill --fix skills/vibe
What happens:
- The heal script inspects only
skills/vibe/, running all per-skill checks against that skill. - For each fixable issue found (e.g.,
MISSING_NAME,UNLINKED_REF), the script applies the repair automatically -- adding the name from the directory, converting bare backtick references to markdown links, etc. - Any
DEAD_REFfindings are reported as warnings since they require human judgment to resolve.
Result: The skills/vibe/SKILL.md is repaired in place, with a summary of changes applied and any remaining warnings.
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
DEAD_REF findings persist after --fix |
Dead references are warn-only because the correct fix (delete, create, or update) requires human judgment | Manually inspect each dead reference and either create the missing file, remove the link from SKILL.md, or update the path |
Script reports EMPTY_DIR for a skill in progress |
The skill directory was created but SKILL.md has not been written yet | Either add a SKILL.md to the directory or remove the empty directory. Running --fix will remove it automatically |
NAME_MISMATCH fix changed the wrong name |
The script always updates the frontmatter name to match the directory name, not the other way around |
If the directory name is wrong, rename the directory first, then re-run --fix |
| Script exits 0 but a skill still has issues | The issue type is not one of the ten checks the heal script detects | The heal script covers structural hygiene only. Content quality issues require manual review or /council validation |
Running --fix twice produces different output |
This should not happen -- the script is idempotent | File a bug. Check if another process modified the skill files between runs |
skills-codex/ keeps regressing after sync |
Mechanical conversion is preserving the wrong semantics | Run bash scripts/audit-codex-parity.sh, then move the durable Codex body rewrite into skills-codex-overrides/<name>/SKILL.md instead of patching generated output |
References
How to use heal-skill on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add heal-skill
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches heal-skill from GitHub repository boshu2/agentops and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate heal-skill. Access the skill through slash commands (e.g., /heal-skill) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★69 reviews- ★★★★★Hassan Tandon· Dec 28, 2024
heal-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Diya Liu· Dec 20, 2024
Keeps context tight: heal-skill is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Zara Li· Dec 8, 2024
heal-skill has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ganesh Mohane· Dec 4, 2024
heal-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Tariq Malhotra· Nov 27, 2024
Keeps context tight: heal-skill is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Sakshi Patil· Nov 23, 2024
I recommend heal-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ira Malhotra· Nov 19, 2024
I recommend heal-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Evelyn Flores· Nov 11, 2024
heal-skill has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Yash Thakker· Nov 3, 2024
We added heal-skill from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aanya Diallo· Nov 3, 2024
heal-skill fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 69