Claude-skill-registry attach-content
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/attach-content" ~/.claude/skills/majiayu000-claude-skill-registry-attach-content && rm -rf "$T"
manifest:
skills/data/attach-content/SKILL.mdsource content
Attach Content Skill
When you generate substantial content that would be valuable to save, use the
attachContent tool to attach it to the issue.
When to Attach Content
Attach content when you've created:
- Optimization guides or recommendations (e.g., AIO/GEO optimization output)
- Technical documentation or specifications
- Code files or configuration examples
- Analysis reports or research findings
- Checklists or implementation guides
- Any content the user explicitly asks to save/attach
How to Use
- Generate the content first (e.g., an optimization guide)
- Call the
tool with:attachContent
: The full content to savecontent
: A descriptive filename with appropriate extensionfilename
: Optional, defaults to "text/markdown"mimeType
Filename Conventions
Use descriptive, kebab-case filenames:
- For optimization guidesaio-geo-optimization-guide.md
- For technical docstechnical-specification.md
- For checklistsimplementation-checklist.md
- For configuration filesconfig-example.json
- For analysis/researchanalysis-report.md
Example Workflow
When using the AIO-GEO-Optimizer skill:
- Follow the optimization workflow to generate optimized content
- After generating the output, automatically attach it:
attachContent({ content: "# Optimized Article\n\n...", filename: "aio-geo-optimization-guide.md" }) - Inform the user the guide has been attached to the issue
Integration with Other Skills
When another skill produces substantial output (like AIO-GEO-Optimizer), you should:
- Complete that skill's workflow
- Automatically attach the generated content
- Notify the user that the content is now attached to the issue for future reference