agent-factory

Generate specialized agent files from plan analysis and system manifest.

Updated May 18, 2026
One-click install
npx skills add https://github.com/fzturk/clearlegaltips-workspace --skill agent-factory-fzturk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-factory
Source: https://github.com/fzturk/clearlegaltips-workspace/tree/main/.claude/skills/agent-factory
Command: npx skills add https://github.com/fzturk/clearlegaltips-workspace --skill agent-factory-fzturk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of specialized agent files for a system, based on plan analysis, streamlining the creation of agents with clear scope, tool access, reference docs, and hard constraints.

Core Features & Use Cases

  • Agent Generation: Creates specialized agent files for each functional domain in the plan analysis.
  • Domain Analysis: Extracts agent domains from analysis/plan_analysis.json.
  • File Output: Produces {name}.agent.md files with roles, references, skills, and constraints.

Quick Start

Use the agent-factory skill after completing the SYSTEM_MANIFEST.md file to generate agents.

Frequently Asked Questions about agent-factory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate specialized agent file generation from a system plan?

Automated specialized agent file generation extracts functional domains from plan_analysis.json and outputs structured .agent.md files with defined roles, tool access, reference docs, and hard constraints for each domain.

What inputs are required to generate domain-specific agent files?

Generating domain-specific agent files requires analysis/plan_analysis.json and SYSTEM_MANIFEST.md as inputs to extract agent domains and map functional boundaries for the generated system architecture.

How does plan analysis map to specialized agent roles and constraints?

Plan analysis maps to specialized agent roles by extracting functional domains from plan_analysis.json, then generating individual .agent.md files that define specific scope, tool access, reference documentation, and hard constraints for each domain.

Where are generated agent files stored in the repository structure?

Generated agent files are stored as .github/agents/*.agent.md files, accompanied by a .github/agents/README.md that documents the collection of specialized agents created for the system architecture.

Can I generate specialized agents without a SYSTEM_MANIFEST.md file?

Generating specialized agents requires SYSTEM_MANIFEST.md as a mandatory input alongside analysis/plan_analysis.json, meaning the agent generation process cannot proceed without these prerequisite files defining the system architecture.

What is the best way to define agent scope and tool access from a project plan?

Defining agent scope and tool access from a project plan is best handled by automating specialized agent file generation, which parses plan analysis to produce .agent.md files with clear scope boundaries, reference docs, and hard constraints per domain.