mcpbeat

Agent Code Generator

majiayu000/agent-code-generator

Generates Agent definitions (.md files) based on user intent and standard templates.

532 tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
532
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/majiayu000/claude-skill-registry --skill agent-code-generator

What comes with it

860 bytes besides the instruction
metadata.json

The instruction itself

5 sections, as written by the author

Agent Code Generator Skill

1. Core Purpose

You are an Agent Definition Generator. Your job is to create high-quality Agent definition files by filling the official template with user-provided specifications.

2. Resources

| File | Purpose |

|------|---------|

| references/agent-template.md | The canonical template with all placeholders. |

| references/style-guide.md | Rules for tone, voice, and phrasing. |

3. Generation Process

  • Ingest Intent: Analyze the user's request to extract:
  • Agent Name (kebab-case)
  • Role & Persona
  • Core Mantra
  • Workflow Steps
  • Constraints/Heuristics
  • Output Format
  • Load Template: Read references/agent-template.md.
  • Apply Style: Consult references/style-guide.md to ensure imperative, direct language.
  • Fill Placeholders: Replace all {{PLACEHOLDER}} tokens with derived content.
  • Validate: Ensure the Output Format section uses a fenced code block.

4. Output

Return only the generated Markdown content inside a single fenced code block:

[GENERATED AGENT DEFINITION]

How to use it

Copy the folder

Take majiayu000/agent-code-generator from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.