Agent skill

Generate Subsystem Skills

by llama-farm in llama-farm/llamafarm

Generate specialized skills for each subsystem in the monorepo.

Apache-2.0Auto-check: notesDevelopment

Install Generate Subsystem Skills

skills CLI
$ npx skills add llama-farm/llamafarm --skill generate-subsystem-skills -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install llama-farm/llamafarm generate-subsystem-skills --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/generate-subsystem-skills .claude/skills/generate-subsystem-skills && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
generate-subsystem-skills
GitHub stars
836
Token cost
~1.1k tokens
SKILL.md length
295 words
Files
2
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate specialized skills for each subsystem in the monorepo.

  • Works in 4 steps: Read Registry → Generate Shared Language Skills → Generate Subsystem Skills → …
  • Tasks that involve Monorepo tooling
  • SKILL.md covers Usage, What Gets Generated, Generation Process and Sub-Agent Prompt Templates, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Generate Subsystem Skills is an agent skill from llama-farm/llamafarm. Generate specialized skills for each subsystem in the monorepo. Creates shared language skills and subsystem-specific checklists for high-quality AI code generation.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `subsystem-registry.md`).

It sits in Development, covering Monorepo tooling. It works with React, Python and TypeScript. The repository describes itself as: Deploy any AI model, agent, database, RAG, and pipeline locally or remotely in minutes. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Monorepo tooling

Example prompts

  • “/generate-subsystem-skills”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write, Edit, Task, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Read Registry
  2. Generate Shared Language Skills
  3. Generate Subsystem Skills
  4. Report Summary

What it can do on your machine

Read from SKILL.md and the folder at commit 6244d46. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write
    • Edit
    • Task
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Generate Subsystem Skills loads about 1.1k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 295 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Write, Edit, Task, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from llama-farm/llamafarm at commit 6244d46, republished under its Apache-2.0 licence (© llama-farm). 295 words, ~1,150 tokens.

Download SKILL.mdSave it as .claude/skills/generate-subsystem-skills/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
generate-subsystem-skills
description
Generate specialized skills for each subsystem in the monorepo. Creates shared language skills and subsystem-specific checklists for high-quality AI code generation.
allowed-tools
Read, Grep, Glob, Write, Edit, Task, Bash

Generate Subsystem Skills

This skill analyzes each subsystem in the LlamaFarm monorepo and generates specialized Claude Code skills for security, performance, and language-specific best practices.

Usage

/generate-subsystem-skills

What Gets Generated

Shared Language Skills (4)
  • python-skills/ - Used by: server, rag, runtime, config, common
  • go-skills/ - Used by: cli
  • typescript-skills/ - Used by: designer, electron
  • react-skills/ - Used by: designer
Subsystem-Specific Skills (8)
  • cli-skills/ - Cobra, Bubbletea patterns
  • server-skills/ - FastAPI, Celery, Pydantic patterns
  • rag-skills/ - LlamaIndex, ChromaDB patterns
  • runtime-skills/ - PyTorch, Transformers patterns
  • designer-skills/ - TanStack Query, Tailwind, Radix patterns
  • electron-skills/ - Electron IPC, security patterns
  • config-skills/ - Pydantic, JSONSchema patterns
  • common-skills/ - HuggingFace Hub patterns

Generation Process

Step 1: Read Registry

Load subsystem definitions from subsystem-registry.md.

Step 2: Generate Shared Language Skills

Launch sub-agents IN PARALLEL to generate:

  1. Python Skills Agent - Analyze Python subsystems (server, rag, runtime, config, common), identify ideal patterns, generate python-skills/

  2. Go Skills Agent - Analyze CLI subsystem, identify ideal Go patterns, generate go-skills/

  3. TypeScript Skills Agent - Analyze designer and electron, identify ideal TS patterns, generate typescript-skills/

  4. React Skills Agent - Analyze designer, identify ideal React 18 patterns, generate react-skills/

Step 3: Generate Subsystem Skills

Launch sub-agents IN PARALLEL for each subsystem:

For each subsystem, the agent should:

  1. Read the subsystem's dependency files (package.json, pyproject.toml, go.mod)
  2. Analyze code patterns using Grep and Read
  3. Generate SKILL.md that links to shared language skills
  4. Generate framework-specific checklist files
  5. Write all files to .claude/skills/{subsystem}-skills/
Step 4: Report Summary

After all agents complete, report:

  • Number of skills generated
  • Total files created
  • Any errors encountered

Sub-Agent Prompt Templates

For Shared Language Skills
You are generating a shared {LANGUAGE} skills directory for Claude Code.

Analyze these subsystems that use {LANGUAGE}:
{SUBSYSTEM_PATHS}

Your task:
1. Read key files to understand patterns used
2. When patterns vary, document the IDEAL approach (not inconsistencies)
3. Reference industry best practices
4. Generate files in .claude/skills/{LANGUAGE}-skills/

Files to generate:
- SKILL.md (overview, ~100 lines)
- patterns.md (idiomatic patterns)
- error-handling.md
- testing.md
- security.md
- {additional language-specific files}

Each checklist item should have:
- Description of what to check
- Search pattern (grep command)
- Pass/fail criteria
- Severity level
For Subsystem Skills
You are generating subsystem-specific skills for {SUBSYSTEM} in Claude Code.

Directory: {PATH}
Tech Stack: {TECH_STACK}
Links to: {SHARED_SKILLS}

Your task:
1. Read dependency files and key source files
2. Identify framework-specific patterns
3. Generate SKILL.md that links to shared language skills
4. Generate framework-specific checklists

Files to generate:
- SKILL.md (overview with links to shared skills)
- {framework}.md for each framework used
- performance.md (subsystem-specific optimizations)

Remember: Document IDEAL patterns, not existing inconsistencies.

Key Principle

Prescribe ideal patterns - When the codebase has inconsistent patterns, the generated skills should document the BEST practice according to industry standards, not codify existing inconsistencies.


Output Location

All skills are written to .claude/skills/ with this structure:

.claude/skills/
├── python-skills/      # Shared
├── go-skills/          # Shared
├── typescript-skills/  # Shared
├── react-skills/       # Shared
├── cli-skills/         # Subsystem
├── server-skills/      # Subsystem
├── rag-skills/         # Subsystem
├── runtime-skills/     # Subsystem
├── designer-skills/    # Subsystem
├── electron-skills/    # Subsystem
├── config-skills/      # Subsystem
└── common-skills/      # Subsystem

© llama-farm, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .claude/skills/generate-subsystem-skills of llama-farm/llamafarm.

  • SKILL.md
  • subsystem-registry.md

Open the folder on GitHubat commit 6244d46

Compare with similar skills

Generate Subsystem Skills next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Generate Subsystem Skills compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generate Subsystem Skills this skillllama-farm/llamafarm836—~1.1kAutomated safety check: NotesApache-2.0
Pnpm Engineteambit/bit18k—~1.9kAutomated safety check: PassCustom licence
Qovery Console StandardsQovery/console227—~924Automated safety check: PassMIT
Tbdjlevy/strif131—~3.5kAutomated safety check: PassMIT
Create PRbeyonders-studio/initiative171—~2.7kAutomated safety check: PassAGPL-3.0
Trigger Getting StartedVladSez/easy-invoice-pdf1.1k—~2kAutomated safety check: NotesAGPL-3.0

Similar skills

  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Qovery Console coding standards, architecture guidelines, naming conventions, testing practices, and development workflows.

    227 GitHub stars~924 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Tbd

    jlevy/strif

    Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents.

    131 GitHub stars~3.5k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Create PR

    beyonders-studio/initiative

    Open a pull request for the current changes, then watch it to green — poll CI and the Greptile review together, addressing review findings as soon as they post instead of waiting for the full…

    171 GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Trigger Getting Started

    VladSez/easy-invoice-pdf

    Bootstrap Trigger.dev into an existing project from scratch: authenticate the CLI, install @trigger.dev/sdk and @trigger.dev/build, write trigger.config.ts with the project ref and task dirs…

    1.1k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Scaffold Project

    Marve10s/Better-Fullstack

    Scaffold a new app, API, backend, fullstack project, mobile app, polyglot service, monorepo, or starter with Better Fullstack.

    756 GitHub stars~716 tokensUpdated today
    DevelopmentAuto-check passed

More from llama-farm/llamafarm

All 19 skills in this repo
  • Reflect

    llama-farm/llamafarm

    Analyze the current session and propose improvements to skills.

    836 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Temp Files

    llama-farm/llamafarm

    Guidelines for creating temporary files in system temp directory.

    836 GitHub stars~515 tokensUpdated 4 mo ago
    Auto-check: notes
  • CLI Skills

    llama-farm/llamafarm

    CLI best practices for LlamaFarm. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review

    llama-farm/llamafarm

    Comprehensive code review for diffs. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Commit Push PR

    llama-farm/llamafarm

    Commit changes, push to GitHub, and open a PR. An agent skill from llama-farm/llamafarm.

    836 GitHub stars~2.3k tokensUpdated 4 mo ago
    Auto-check: notes
  • Common Skills

    llama-farm/llamafarm

    Best practices for the Common utilities package in LlamaFarm.

    836 GitHub stars~885 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Generate Subsystem Skills

What does Generate Subsystem Skills do?

Generate specialized skills for each subsystem in the monorepo. Generate Subsystem Skills is an agent skill from llama-farm/llamafarm. Generate specialized skills for each subsystem in the monorepo.

When should I use Generate Subsystem Skills?

Generate Subsystem Skills fits situations like: tasks that involve Monorepo tooling.

How do I install Generate Subsystem Skills in Claude Code?

Run `npx skills add llama-farm/llamafarm --skill generate-subsystem-skills -a claude-code`. Or copy the skill folder (.claude/skills/generate-subsystem-skills in llama-farm/llamafarm) into .claude/skills/generate-subsystem-skills in your project. Claude Code loads it when a task matches its description.

How do I install Generate Subsystem Skills in Codex?

Run `npx skills add llama-farm/llamafarm --skill generate-subsystem-skills -a codex`. Or copy the skill folder (.claude/skills/generate-subsystem-skills in llama-farm/llamafarm) into .agents/skills/generate-subsystem-skills in your project. Codex loads it when a task matches its description.

Can I use Generate Subsystem Skills in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add llama-farm/llamafarm --skill generate-subsystem-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-subsystem-skills, .gemini/skills/generate-subsystem-skills, .github/skills/generate-subsystem-skills and .opencode/skills/generate-subsystem-skills in your project.

What does Generate Subsystem Skills need to run?

SKILL.md names no scripts, command-line tools or credentials: Generate Subsystem Skills is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Edit, Task, Bash.

Does Generate Subsystem Skills access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Generate Subsystem Skills safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Generate Subsystem Skills use?

Generate Subsystem Skills is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Generate Subsystem Skills use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Generate Subsystem Skills?

Skills that share tags, products or a category with Generate Subsystem Skills: Pnpm Engine (teambit/bit, 18k stars), Qovery Console Standards (Qovery/console, 227 stars), Tbd (jlevy/strif, 131 stars) and Create PR (beyonders-studio/initiative, 171 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generate Subsystem Skills?

llama-farm (a GitHub organization) maintains it in llama-farm/llamafarm, which has 836 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 10, 2026.

Source: llama-farm/llamafarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.