agentleFS
nicepkgnicepkg/ai-workflow/.claude/skills/add-new-skills-to-workflow/SKILL.md

add-new-skills-to-workflow

Skill284 starsChanged 11 months agoMITView on GitHub

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. About 0 are common, 14 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add skills from GitHub to an existing workflow and update all related documentation.

    line 8
  2. Distinctive:

    Use skill-downloader to download skills from GitHub:

    line 14
  3. Very specific:

    Read the downloaded SKILL.md to understand:

    line 35
  4. Very specific:

    Add the new skill entry to workflows/<name>/.claude/skill-source.json:

    line 42
  5. Distinctive:

    Update these files (all that exist for the workflow):

    line 55
  6. Distinctive:

    Skill Count: Update total count (e.g., "18 skills" → "20 skills")

    line 70
  7. Distinctive:

    Skill Table: Add new skill row in appropriate category

    line 75
  8. Distinctive:

    Pipeline: Add skill to relevant stage if applicable

    line 80
  9. Distinctive:

    AGENTS.md: Add to available skills and update recommended sequences

    line 87
  10. Distinctive:

    Root README: Update skill count in workflow overview table

    line 89
  11. Very specific:

    Given: Add slidev and slidev-presentations skills

    line 93
  12. Distinctive:

    Step 2: Read downloaded skills to understand their purpose

    line 101
  13. Very specific:

    Step 3: Update skill-source.json with new skill entries

    line 103
  14. Distinctive:

    Step 4: Update all 8 files:

    line 105
  15. Very specific:

    Update skill-source.json with source info

    line 106
  16. Distinctive:

    Add new category with skill table

    line 108
  17. Distinctive:

    Update pipeline to reference new skills

    line 109
  18. Distinctive:

    Update AGENTS.md skill lists and sequences

    line 110
  19. Distinctive:

    Update root README skill count

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add New Skills to Workflow

Add skills from GitHub to an existing workflow and update all related documentation.

Workflow

Step 1: Download Skills

Use skill-downloader to download skills from GitHub:

python .claude/skills/skill-downloader/scripts/download_from_github.py <repo-url> <skill-path> --output <workflow-path>/.claude/skills/

Parse GitHub URL:

  • https://github.com/user/repo/blob/main/path/to/skill → repo: https://github.com/user/repo, skill-path: path/to/skill
  • https://github.com/user/repo/tree/main/.claude/skills/my-skill → repo: https://github.com/user/repo, skill-path: .claude/skills/my-skill

Example:

# For URL: https://github.com/XIYO/zheon/blob/main/.claude/skills/slidev
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/

# Use --force to overwrite existing
python .claude/skills/skill-downloader/scripts/download_from_github.py <repo> <path> --output <target> --force

Step 2: Read Downloaded Skill

Read the downloaded SKILL.md to understand:

  • Skill name and description
  • What category it belongs to
  • How it fits into the workflow pipeline

Step 3: Update skill-source.json

Add the new skill entry to workflows/<name>/.claude/skill-source.json:

{
  "skill-name": {
    "source": "https://github.com/user/repo",
    "path": "path/to/skill"
  }
}

Step 4: Update Documentation

Update these files (all that exist for the workflow):

FileUpdates Required
workflows/<name>/.claude/skill-source.jsonAdd new skill source entry
workflows/<name>/README.mdSkill count, skill table, pipeline
workflows/<name>/README_cn.mdSame as above (Chinese)
workflows/<name>/AGENTS.mdAvailable skills list, recommended sequences
website/content/en/workflows/<name>.mdxSkill count, skill table, pipeline
website/content/zh/workflows/<name>.mdxSame as above (Chinese)
README.md (root)Skill count in workflow table
README_cn.md (root)Same as above (Chinese)

Documentation Update Checklist

  1. Skill Count: Update total count (e.g., "18 skills" → "20 skills")
    • Quick install comment
    • Section header
    • Description text
  2. Skill Table: Add new skill row in appropriate category
    | `skill-name` | Brief description of what it does |
  3. Pipeline: Add skill to relevant stage if applicable
    Stage X: Category
    ├── existing-skill → Description
    └── new-skill → Description
  4. AGENTS.md: Add to available skills and update recommended sequences
  5. Root README: Update skill count in workflow overview table

Example: Adding Skills to talk-to-slidev-workflow

Given: Add slidev and slidev-presentations skills

Step 1: Download

python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/clearfunction/cf-devtools skills/slidev-presentations --output ./workflows/talk-to-slidev-workflow/.claude/skills/

Step 2: Read downloaded skills to understand their purpose

Step 3: Update skill-source.json with new skill entries

Step 4: Update all 8 files:

  • Update skill-source.json with source info
  • Update skill count
  • Add new category with skill table
  • Update pipeline to reference new skills
  • Update AGENTS.md skill lists and sequences
  • Update root README skill count

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.