[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DBVFASNRC6EZY46SQBE84":3,"skill-same:01M75DBVFASNRC6EZY46SQBE84":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75DBVFASNRC6EZY46SQBE84","enhance-claude-memory",null,"Use when improving CLAUDE.md or AGENTS.md project memory files.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fenhance-claude-memory\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: enhance-claude-memory\ndescription: \"Use when improving CLAUDE.md or AGENTS.md project memory files.\"\nversion: 5.1.0\n---\n\n# enhance-claude-memory\n\nAnalyze project memory files (CLAUDE.md, AGENTS.md) for optimization.\n\n## Cross-Tool Detection\n\nSearches for project memory files in order:\n1. CLAUDE.md (Claude Code)\n2. AGENTS.md (OpenCode, Codex)\n3. .github\u002FCLAUDE.md\n4. .github\u002FAGENTS.md\n\n## File Hierarchy (Reference)\n\n**CLAUDE.md** (Claude Code):\n| Location | Scope |\n|----------|-------|\n| `~\u002F.claude\u002FCLAUDE.md` | Global (all projects) |\n| `.claude\u002FCLAUDE.md` or `.\u002FCLAUDE.md` | Project root |\n| `src\u002F.claude\u002FCLAUDE.md` | Directory-specific |\n\n**AGENTS.md** (OpenCode, Codex, and other AI tools):\n| Location | Scope |\n|----------|-------|\n| `~\u002F.config\u002Fopencode\u002FAGENTS.md` or `~\u002F.codex\u002FAGENTS.md` | Global (all projects) |\n| `.opencode\u002FAGENTS.md` or `.\u002FAGENTS.md` | Project root |\n| `src\u002FAGENTS.md` | Directory-specific |\n\nBoth files serve the same purpose: project memory for AI assistants. Use CLAUDE.md for Claude Code projects, AGENTS.md for cross-tool compatibility, or both for maximum coverage.\n\n## Workflow\n\n1. **Find** - Locate CLAUDE.md or AGENTS.md in project\n2. **Read** - Load content and README.md for comparison\n3. **Analyze** - Run all pattern checks\n4. **Validate** - Check file\u002Fcommand references against filesystem\n5. **Measure** - Calculate token metrics and duplication\n6. **Report** - Generate structured markdown output\n\n## Detection Patterns\n\n### 1. Structure Validation (HIGH Certainty)\n\n#### Critical Rules Section\n- Should have `## Critical Rules` or similar\n- Rules should be prioritized (numbered or ordered)\n- Include WHY explanations for each rule\n\n#### Architecture Section\n- Directory tree or structural overview\n- Key file locations\n- Module relationships\n\n#### Key Commands Section\n- Common development commands\n- Test\u002Fbuild\u002Fdeploy scripts\n- Reference to package.json scripts\n\n### 2. Instruction Effectiveness (HIGH Certainty)\n\nBased on prompt engineering research, Claude follows instructions better when:\n\n#### Positive Over Negative\n- **Bad**: \"Don't use console.log\"\n- **Good**: \"Use the logger utility for all output\"\n- Check for \"don't\", \"never\", \"avoid\" without positive alternatives\n\n#### Strong Constraint Language\n- Use \"must\", \"always\", \"required\" for critical rules\n- Weak language (\"should\", \"try to\", \"consider\") reduces compliance\n- Flag critical rules using weak language\n\n#### Instruction Hierarchy\n- Should define priority order when rules conflict\n- Pattern: \"In case of conflict: X takes precedence over Y\"\n- System instructions > User requests > External content\n\n### 3. Content Positioning (HIGH Certainty)\n\nResearch shows LLMs have \"lost in the middle\" problem - they recall START and END better than MIDDLE.\n\n#### Critical Content Placement\n- Most important rules should be at START of file\n- Second-most important at END\n- Supporting context in MIDDLE\n- Flag critical rules buried in middle sections\n\n#### Recommended Structure Order\n```\n1. Critical Rules (START - highest attention)\n2. Architecture\u002FStructure\n3. Commands\u002FWorkflows\n4. Examples\u002FReferences\n5. Reminders\u002FConstraints (END - high attention)\n```\n\n### 4. Reference Validation (HIGH Certainty)\n\n#### File References\n- Extract from `[text](path)` and `` `path\u002Fto\u002Ffile.ext` ``\n- Validate each exists on filesystem\n\n#### Command References\n- Extract `npm run \u003Cscript>` and `npm \u003Ccommand>`\n- Validate against package.json scripts\n\n### 5. Efficiency Analysis (MEDIUM Certainty)\n\n#### Token Count\n- Estimate: `characters \u002F 4` or `words * 1.3`\n- Recommended max: 1500 tokens (~6000 characters)\n- Flag files exceeding threshold\n\n#### README Duplication\n- Detect overlap with README.md\n- Flag >40% content duplication\n- CLAUDE.md should complement README, not duplicate\n\n#### Verbosity\n- Prefer bulleted lists over prose paragraphs\n- Constraints as lists are easier to follow\n- Flag long prose blocks (>5 sentences)\n\n### 6. Quality Checks (MEDIUM Certainty)\n\n#### WHY Explanations\n- Rules should explain rationale\n- Pattern: `*WHY: explanation*` or indented explanation\n- Flag rules without explanations\n\n#### Structure Depth\n- Avoid deep nesting (>3 levels)\n- Keep hierarchy scannable\n- Flat structures parse better\n\n#### XML-Style Tags (Optional Enhancement)\n- Claude was trained on XML tags\n- `\u003Ccritical-rules>`, `\u003Carchitecture>`, `\u003Cconstraints>` improve parsing\n- Not required but can improve instruction following\n\n### 7. Agent\u002FSkill Definitions (MEDIUM Certainty)\n\nIf file defines custom agents or skills:\n\n#### Agent Definition Format\n```markdown\n### agent-name\nModel: claude-sonnet-4-20250514\nDescription: What this agent does and when to use it\nTools: Read, Grep, Glob\nInstructions: Specific behavioral instructions\n```\n\nRequired fields: Description (when to use), Tools (restricted set)\nOptional: Model, Instructions\n\n#### Skill References\n- Skills should have clear trigger descriptions\n- \"Use when...\" pattern helps auto-invocation\n\n### 8. Cross-Platform Compatibility (MEDIUM\u002FHIGH Certainty)\n\n#### State Directory\n- Don't hardcode `.claude\u002F`\n- Support `.opencode\u002F`, `.codex\u002F`\n- Use `${STATE_DIR}\u002F` or document variations\n\n#### Terminology\n- Avoid Claude-specific language for shared files\n- Use \"AI assistant\" generically\n- Or explicitly note \"Claude Code\" vs \"OpenCode\" differences\n\n## Output Format\n\n```markdown\n# Project Memory Analysis: {filename}\n\n**File**: {path}\n**Type**: {CLAUDE.md | AGENTS.md}\n\n## Metrics\n| Metric | Value |\n|--------|-------|\n| Estimated Tokens | {tokens} |\n| README Overlap | {percent}% |\n\n## Summary\n| Certainty | Count |\n|-----------|-------|\n| HIGH | {n} |\n| MEDIUM | {n} |\n\n### Structure Issues ({n})\n| Issue | Fix | Certainty |\n\n### Instruction Issues ({n})\n| Issue | Fix | Certainty |\n\n### Positioning Issues ({n})\n| Issue | Fix | Certainty |\n\n### Reference Issues ({n})\n| Issue | Fix | Certainty |\n\n### Efficiency Issues ({n})\n| Issue | Fix | Certainty |\n\n### Cross-Platform Issues ({n})\n| Issue | Fix | Certainty |\n```\n\n## Pattern Statistics\n\n| Category | Patterns | Certainty |\n|----------|----------|-----------|\n| Structure | 3 | HIGH |\n| Instruction Effectiveness | 3 | HIGH |\n| Content Positioning | 2 | HIGH |\n| Reference | 2 | HIGH |\n| Efficiency | 3 | MEDIUM |\n| Quality | 3 | MEDIUM |\n| Agent\u002FSkill Definitions | 2 | MEDIUM |\n| Cross-Platform | 2 | MEDIUM\u002FHIGH |\n| **Total** | **20** | - |\n\n\u003Cexamples>\n### Example: Missing WHY Explanations\n\n\u003Cbad_example>\n```markdown\n## Rules\n1. Always run tests before committing\n2. Use semantic commit messages\n```\n**Issue**: Rules without rationale are harder to follow.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Critical Rules\n1. **Always run tests before committing**\n   *WHY: Catches regressions before they reach main branch.*\n```\n**Why it's good**: Motivation makes compliance easier.\n\u003C\u002Fgood_example>\n\n### Example: Negative vs Positive Instructions\n\n\u003Cbad_example>\n```markdown\n- Don't use console.log for debugging\n- Never commit directly to main\n- Avoid hardcoding secrets\n```\n**Issue**: Negative instructions are less effective than positive alternatives.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n- Use the logger utility for all debug output\n- Create feature branches and submit PRs for all changes\n- Store secrets in environment variables or .env files\n```\n**Why it's good**: Tells what TO do, not just what to avoid.\n\u003C\u002Fgood_example>\n\n### Example: Weak vs Strong Constraint Language\n\n\u003Cbad_example>\n```markdown\n- You should probably run tests before pushing\n- Try to use TypeScript when possible\n- Consider adding error handling\n```\n**Issue**: Weak language (\"should\", \"try\", \"consider\") reduces compliance.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n- **MUST** run tests before pushing (CI will reject failures)\n- **ALWAYS** use TypeScript for new files\n- **REQUIRED**: All async functions must have error handling\n```\n**Why it's good**: Strong language ensures critical rules are followed.\n\u003C\u002Fgood_example>\n\n### Example: Content Positioning\n\n\u003Cbad_example>\n```markdown\n## Project Overview\n[Long description...]\n\n## Installation\n[Setup steps...]\n\n## Critical Rules\n1. Never push to main directly\n2. Always run tests\n```\n**Issue**: Critical rules buried in middle\u002Fend get less attention.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Critical Rules (Read First)\n1. **Never push to main directly** - Use PRs\n2. **Always run tests** - CI enforces this\n\n## Project Overview\n[Description...]\n\n## Reminders\n- Check CI status before merging\n- Update CHANGELOG for user-facing changes\n```\n**Why it's good**: Critical content at START and END positions.\n\u003C\u002Fgood_example>\n\n### Example: Cross-Platform Compatibility\n\n\u003Cbad_example>\n```markdown\nState files are stored in `.claude\u002Ftasks.json`\n```\n**Issue**: Hardcoded paths exclude other AI tools.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\nState files are stored in `${STATE_DIR}\u002Ftasks.json`\n(`.claude\u002F` for Claude Code, `.opencode\u002F` for OpenCode)\n```\n**Why it's good**: Works across multiple AI assistants.\n\u003C\u002Fgood_example>\n\n### Example: Agent Definition\n\n\u003Cbad_example>\n```markdown\n## Agents\n- security-reviewer: reviews security\n- test-writer: writes tests\n```\n**Issue**: Missing required fields (Tools, when to use).\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Custom Agents\n\n### security-reviewer\nModel: claude-sonnet-4-20250514\nDescription: Reviews code for security vulnerabilities. Use for PRs touching auth, API, or data handling.\nTools: Read, Grep, Glob\nInstructions: Focus on OWASP Top 10, input validation, auth flows.\n\n### test-writer\nModel: claude-haiku-4\nDescription: Writes unit tests. Use after implementing new functions.\nTools: Read, Write, Bash(npm test:*)\nInstructions: Use Jest patterns. Aim for >80% coverage.\n```\n**Why it's good**: Complete definition with when to use, restricted tools.\n\u003C\u002Fgood_example>\n\u003C\u002Fexamples>\n\n## Research References\n\nBest practices derived from:\n- `agent-docs\u002FPROMPT-ENGINEERING-REFERENCE.md` - Instruction effectiveness, XML tags, constraint language\n- `agent-docs\u002FCONTEXT-OPTIMIZATION-REFERENCE.md` - Token budgeting, \"lost in the middle\" positioning\n- `agent-docs\u002FLLM-INSTRUCTION-FOLLOWING-RELIABILITY.md` - Instruction hierarchy, positive vs negative\n- `agent-docs\u002FCLAUDE-CODE-REFERENCE.md` - File hierarchy, agent definitions, skills format\n\n## Constraints\n\n- Always validate file references before reporting broken\n- Consider context when flagging efficiency issues\n- Cross-platform suggestions are advisory, not required\n- Positioning suggestions are HIGH certainty but may have valid exceptions\n","# enhance-claude-memory\n\nAnalyze project memory files (CLAUDE.md, AGENTS.md) for optimization.\n\n## Cross-Tool Detection\n\nSearches for project memory files in order:\n1. CLAUDE.md (Claude Code)\n2. AGENTS.md (OpenCode, Codex)\n3. .github\u002FCLAUDE.md\n4. .github\u002FAGENTS.md\n\n## File Hierarchy (Reference)\n\n**CLAUDE.md** (Claude Code):\n| Location | Scope |\n|----------|-------|\n| `~\u002F.claude\u002FCLAUDE.md` | Global (all projects) |\n| `.claude\u002FCLAUDE.md` or `.\u002FCLAUDE.md` | Project root |\n| `src\u002F.claude\u002FCLAUDE.md` | Directory-specific |\n\n**AGENTS.md** (OpenCode, Codex, and other AI tools):\n| Location | Scope |\n|----------|-------|\n| `~\u002F.config\u002Fopencode\u002FAGENTS.md` or `~\u002F.codex\u002FAGENTS.md` | Global (all projects) |\n| `.opencode\u002FAGENTS.md` or `.\u002FAGENTS.md` | Project root |\n| `src\u002FAGENTS.md` | Directory-specific |\n\nBoth files serve the same purpose: project memory for AI assistants. Use CLAUDE.md for Claude Code projects, AGENTS.md for cross-tool compatibility, or both for maximum coverage.\n\n## Workflow\n\n1. **Find** - Locate CLAUDE.md or AGENTS.md in project\n2. **Read** - Load content and README.md for comparison\n3. **Analyze** - Run all pattern checks\n4. **Validate** - Check file\u002Fcommand references against filesystem\n5. **Measure** - Calculate token metrics and duplication\n6. **Report** - Generate structured markdown output\n\n## Detection Patterns\n\n### 1. Structure Validation (HIGH Certainty)\n\n#### Critical Rules Section\n- Should have `## Critical Rules` or similar\n- Rules should be prioritized (numbered or ordered)\n- Include WHY explanations for each rule\n\n#### Architecture Section\n- Directory tree or structural overview\n- Key file locations\n- Module relationships\n\n#### Key Commands Section\n- Common development commands\n- Test\u002Fbuild\u002Fdeploy scripts\n- Reference to package.json scripts\n\n### 2. Instruction Effectiveness (HIGH Certainty)\n\nBased on prompt engineering research, Claude follows instructions better when:\n\n#### Positive Over Negative\n- **Bad**: \"Don't use console.log\"\n- **Good**: \"Use the logger utility for all output\"\n- Check for \"don't\", \"never\", \"avoid\" without positive alternatives\n\n#### Strong Constraint Language\n- Use \"must\", \"always\", \"required\" for critical rules\n- Weak language (\"should\", \"try to\", \"consider\") reduces compliance\n- Flag critical rules using weak language\n\n#### Instruction Hierarchy\n- Should define priority order when rules conflict\n- Pattern: \"In case of conflict: X takes precedence over Y\"\n- System instructions > User requests > External content\n\n### 3. Content Positioning (HIGH Certainty)\n\nResearch shows LLMs have \"lost in the middle\" problem - they recall START and END better than MIDDLE.\n\n#### Critical Content Placement\n- Most important rules should be at START of file\n- Second-most important at END\n- Supporting context in MIDDLE\n- Flag critical rules buried in middle sections\n\n#### Recommended Structure Order\n```\n1. Critical Rules (START - highest attention)\n2. Architecture\u002FStructure\n3. Commands\u002FWorkflows\n4. Examples\u002FReferences\n5. Reminders\u002FConstraints (END - high attention)\n```\n\n### 4. Reference Validation (HIGH Certainty)\n\n#### File References\n- Extract from `[text](path)` and `` `path\u002Fto\u002Ffile.ext` ``\n- Validate each exists on filesystem\n\n#### Command References\n- Extract `npm run \u003Cscript>` and `npm \u003Ccommand>`\n- Validate against package.json scripts\n\n### 5. Efficiency Analysis (MEDIUM Certainty)\n\n#### Token Count\n- Estimate: `characters \u002F 4` or `words * 1.3`\n- Recommended max: 1500 tokens (~6000 characters)\n- Flag files exceeding threshold\n\n#### README Duplication\n- Detect overlap with README.md\n- Flag >40% content duplication\n- CLAUDE.md should complement README, not duplicate\n\n#### Verbosity\n- Prefer bulleted lists over prose paragraphs\n- Constraints as lists are easier to follow\n- Flag long prose blocks (>5 sentences)\n\n### 6. Quality Checks (MEDIUM Certainty)\n\n#### WHY Explanations\n- Rules should explain rationale\n- Pattern: `*WHY: explanation*` or indented explanation\n- Flag rules without explanations\n\n#### Structure Depth\n- Avoid deep nesting (>3 levels)\n- Keep hierarchy scannable\n- Flat structures parse better\n\n#### XML-Style Tags (Optional Enhancement)\n- Claude was trained on XML tags\n- `\u003Ccritical-rules>`, `\u003Carchitecture>`, `\u003Cconstraints>` improve parsing\n- Not required but can improve instruction following\n\n### 7. Agent\u002FSkill Definitions (MEDIUM Certainty)\n\nIf file defines custom agents or skills:\n\n#### Agent Definition Format\n```markdown\n### agent-name\nModel: claude-sonnet-4-20250514\nDescription: What this agent does and when to use it\nTools: Read, Grep, Glob\nInstructions: Specific behavioral instructions\n```\n\nRequired fields: Description (when to use), Tools (restricted set)\nOptional: Model, Instructions\n\n#### Skill References\n- Skills should have clear trigger descriptions\n- \"Use when...\" pattern helps auto-invocation\n\n### 8. Cross-Platform Compatibility (MEDIUM\u002FHIGH Certainty)\n\n#### State Directory\n- Don't hardcode `.claude\u002F`\n- Support `.opencode\u002F`, `.codex\u002F`\n- Use `${STATE_DIR}\u002F` or document variations\n\n#### Terminology\n- Avoid Claude-specific language for shared files\n- Use \"AI assistant\" generically\n- Or explicitly note \"Claude Code\" vs \"OpenCode\" differences\n\n## Output Format\n\n```markdown\n# Project Memory Analysis: {filename}\n\n**File**: {path}\n**Type**: {CLAUDE.md | AGENTS.md}\n\n## Metrics\n| Metric | Value |\n|--------|-------|\n| Estimated Tokens | {tokens} |\n| README Overlap | {percent}% |\n\n## Summary\n| Certainty | Count |\n|-----------|-------|\n| HIGH | {n} |\n| MEDIUM | {n} |\n\n### Structure Issues ({n})\n| Issue | Fix | Certainty |\n\n### Instruction Issues ({n})\n| Issue | Fix | Certainty |\n\n### Positioning Issues ({n})\n| Issue | Fix | Certainty |\n\n### Reference Issues ({n})\n| Issue | Fix | Certainty |\n\n### Efficiency Issues ({n})\n| Issue | Fix | Certainty |\n\n### Cross-Platform Issues ({n})\n| Issue | Fix | Certainty |\n```\n\n## Pattern Statistics\n\n| Category | Patterns | Certainty |\n|----------|----------|-----------|\n| Structure | 3 | HIGH |\n| Instruction Effectiveness | 3 | HIGH |\n| Content Positioning | 2 | HIGH |\n| Reference | 2 | HIGH |\n| Efficiency | 3 | MEDIUM |\n| Quality | 3 | MEDIUM |\n| Agent\u002FSkill Definitions | 2 | MEDIUM |\n| Cross-Platform | 2 | MEDIUM\u002FHIGH |\n| **Total** | **20** | - |\n\n\u003Cexamples>\n### Example: Missing WHY Explanations\n\n\u003Cbad_example>\n```markdown\n## Rules\n1. Always run tests before committing\n2. Use semantic commit messages\n```\n**Issue**: Rules without rationale are harder to follow.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Critical Rules\n1. **Always run tests before committing**\n   *WHY: Catches regressions before they reach main branch.*\n```\n**Why it's good**: Motivation makes compliance easier.\n\u003C\u002Fgood_example>\n\n### Example: Negative vs Positive Instructions\n\n\u003Cbad_example>\n```markdown\n- Don't use console.log for debugging\n- Never commit directly to main\n- Avoid hardcoding secrets\n```\n**Issue**: Negative instructions are less effective than positive alternatives.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n- Use the logger utility for all debug output\n- Create feature branches and submit PRs for all changes\n- Store secrets in environment variables or .env files\n```\n**Why it's good**: Tells what TO do, not just what to avoid.\n\u003C\u002Fgood_example>\n\n### Example: Weak vs Strong Constraint Language\n\n\u003Cbad_example>\n```markdown\n- You should probably run tests before pushing\n- Try to use TypeScript when possible\n- Consider adding error handling\n```\n**Issue**: Weak language (\"should\", \"try\", \"consider\") reduces compliance.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n- **MUST** run tests before pushing (CI will reject failures)\n- **ALWAYS** use TypeScript for new files\n- **REQUIRED**: All async functions must have error handling\n```\n**Why it's good**: Strong language ensures critical rules are followed.\n\u003C\u002Fgood_example>\n\n### Example: Content Positioning\n\n\u003Cbad_example>\n```markdown\n## Project Overview\n[Long description...]\n\n## Installation\n[Setup steps...]\n\n## Critical Rules\n1. Never push to main directly\n2. Always run tests\n```\n**Issue**: Critical rules buried in middle\u002Fend get less attention.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Critical Rules (Read First)\n1. **Never push to main directly** - Use PRs\n2. **Always run tests** - CI enforces this\n\n## Project Overview\n[Description...]\n\n## Reminders\n- Check CI status before merging\n- Update CHANGELOG for user-facing changes\n```\n**Why it's good**: Critical content at START and END positions.\n\u003C\u002Fgood_example>\n\n### Example: Cross-Platform Compatibility\n\n\u003Cbad_example>\n```markdown\nState files are stored in `.claude\u002Ftasks.json`\n```\n**Issue**: Hardcoded paths exclude other AI tools.\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\nState files are stored in `${STATE_DIR}\u002Ftasks.json`\n(`.claude\u002F` for Claude Code, `.opencode\u002F` for OpenCode)\n```\n**Why it's good**: Works across multiple AI assistants.\n\u003C\u002Fgood_example>\n\n### Example: Agent Definition\n\n\u003Cbad_example>\n```markdown\n## Agents\n- security-reviewer: reviews security\n- test-writer: writes tests\n```\n**Issue**: Missing required fields (Tools, when to use).\n\u003C\u002Fbad_example>\n\n\u003Cgood_example>\n```markdown\n## Custom Agents\n\n### security-reviewer\nModel: claude-sonnet-4-20250514\nDescription: Reviews code for security vulnerabilities. Use for PRs touching auth, API, or data handling.\nTools: Read, Grep, Glob\nInstructions: Focus on OWASP Top 10, input validation, auth flows.\n\n### test-writer\nModel: claude-haiku-4\nDescription: Writes unit tests. Use after implementing new functions.\nTools: Read, Write, Bash(npm test:*)\nInstructions: Use Jest patterns. Aim for >80% coverage.\n```\n**Why it's good**: Complete definition with when to use, restricted tools.\n\u003C\u002Fgood_example>\n\u003C\u002Fexamples>\n\n## Research References\n\nBest practices derived from:\n- `agent-docs\u002FPROMPT-ENGINEERING-REFERENCE.md` - Instruction effectiveness, XML tags, constraint language\n- `agent-docs\u002FCONTEXT-OPTIMIZATION-REFERENCE.md` - Token budgeting, \"lost in the middle\" positioning\n- `agent-docs\u002FLLM-INSTRUCTION-FOLLOWING-RELIABILITY.md` - Instruction hierarchy, positive vs negative\n- `agent-docs\u002FCLAUDE-CODE-REFERENCE.md` - File hierarchy, agent definitions, skills format\n\n## Constraints\n\n- Always validate file references before reporting broken\n- Consider context when flagging efficiency issues\n- Cross-platform suggestions are advisory, not required\n- Positioning suggestions are HIGH certainty but may have valid exceptions\n",{"name":5,"version":23,"description":7},"5.1.0","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fenhance-claude-memory",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add agisota\u002Fold-one --skill enhance-claude-memory",{"tool":39,"command":40},"bunx","bunx skills add agisota\u002Fold-one --skill enhance-claude-memory",{"tool":42,"command":43},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill enhance-claude-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fenhance-claude-memory\u002FSKILL.md",true,[],[48,55,62,71,78,85],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]