internal-agent-creator
Use when creating, reviewing, or materially revising a repository-owned Copilot agent under `.github/agents/`.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when creating, reviewing, or materially revising a repository-owned Copilot agent under `.github/agents/`.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | internal-agent-creator |
| description | Use when creating, reviewing, or materially revising a repository-owned Copilot agent under `.github/agents/`. |
| metadata | {"short-description":"Create, refine, or realign repository-owned Copilot agents"} |
This index lists every other skill that this file asks the agent to load, route to, compare against, or delegate to.
internal-copilot-docs-research: current GitHub Copilot or VS Code platform behavior verification.Use this skill when authoring or materially revising repository-owned agents in .github/agents/.
This workflow is agent-only. If the main requested output is not an agent file or an agent contract review, stop and name the better owner instead of continuing inside this skill.
Prefer a singular core-skill architecture for routers and broader command centers:
.github/agents/.internal-copilot-docs-research for that verification first.Load these inputs before finalizing an internal agent:
AGENTS.md for routing language and repository precedence.github/INVENTORY.md for the live catalog of managed assets.github/copilot-instructions.md for the non-negotiable behavior layerreferences/agent-contract.md when editing frontmatter, tools:, core-skill sections, or subagent controlsreferences/agent-template.md when drafting a new agent from scratchreferences/requirements-and-persona.md when the request is vague, the role is new or materially changing, or a coordinator must package context for workersreferences/conversion-checklist.md when normalizing an imported or legacy agentreferences/design-patterns.md when broadening, splitting, or strengthening an agentreferences/example-transformations.md when you need before-and-after conversion examplesreferences/official-source-map.md when platform or OpenAI guidance affects the authoring rulereferences/review-checklist.md before final validation or when reviewing an existing agentreferences/subagent-patterns.md when the agent needs to invoke or be invoked as a subagent, or when designing coordinator/worker workflowsinternal-copilot-docs-research when the change depends on current GitHub Copilot or VS Code platform behaviorUse scripts/audit_agent_contract.py before material agent authoring or review when the existing .github/agents catalog should be used as a benchmark. Use scripts/measure_skill_bundle_tokens.py after material edits to this skill bundle so code and loaded-context token costs stay visible.
When the source agent already has legacy skill-guidance sections such as ## Mandatory Engine Skills, ## Optional Support Skills, or ## Preferred/Optional Skills, treat them as benchmark evidence and migration input. Do not copy those sections into a new agent unless the user explicitly asks for a legacy-compatible edit.
When the target agent depends on an existing core skill or local references for detailed workflow, load those assets before editing so route, reusable procedure, and deep reference detail stay aligned instead of drifting in parallel.
Proceed only when the requested change is agent-shaped:
| Need | Prefer |
|---|---|
| Named operating role with routing responsibility | Agent |
| Front-door router or broad command center with existing reusable decision logic | Agent + one existing core skill |
| Coordinator or worker behavior with platform subagent controls | Agent |
| Agent contract review, route cleanup, or imported-agent normalization | Agent edit or review |
| Reusable procedure, drafting aid, file-type rule, validator, or doc-only content | Out of scope for this skill |
Choose an agent only when the repository benefits from a stable command center, specialist persona, coordinator, or worker. If the draft is mostly procedure and no existing core skill owns that procedure, stop and report that the request is outside this skill's scope.
Read references/agent-contract.md before changing frontmatter, tool scope, core-skill sections, or subagent controls.
Keep these rules visible while drafting:
name:, and command identifier aligned.description: is the route and should start with Use this agent when ....tools: explicitly with a short, role-shaped contract.## Core Skill only when exactly one skill is required for the agent's core behavior.## Optional Support Skills or ## Mandatory Engine Skills to new agents by default.agents:, user-invocable, and disable-model-invocation only when they materially enforce the boundary.Before changing claims about frontmatter support, tool aliases, MCP behavior, or subagent invocation:
internal-copilot-docs-research to identify the authoritative source mapUse this split when authoring command-center agents: keep route, stance, tool contract, boundaries, and output expectations in the agent; keep shared decision matrices, threshold rules, owner maps, degraded-mode behavior, and long procedures in one existing core skill when that skill already owns the logic. Front-door routers and planning leaders are good candidates. Small executors and lightweight challengers often need no core skill.
Do not start reusable-owner design from this workflow. If the agent cannot be kept clear without a new reusable owner, stop and surface that boundary.
.github/agents/.description: lines first and resolve collisions before drafting.description: before the body.
If the routing sentence is vague, the rest of the agent will stay vague.tools: explicit, core skills rare, and support-skill references out of the agent unless explicitly requested.When learning from richer upstream agents, keep the signal and drop the
scaffolding. Translate tool catalogs to short canonical tools: lists,
expertise catalogs to route or output rules, governance patterns to approval
boundaries, and helper-skill lists to zero skill references or one existing
core skill. Translate persona claims into operating behavior rather than
fictional credentials. Use references/design-patterns.md and
references/requirements-and-persona.md for the detailed translation maps.
When the agent being authored can influence risky actions:
Split an agent when one file mixes disjoint operating roles, conflicting instructions, or different winning routes.
Good reasons to split:
and/or across unrelated domains.Do not split only because the file is long. First ask whether the long content belongs outside the agent.
When adapting external agents:
internal-* contract.Do not over-compress a well-structured upstream agent. If its strength comes from a clear requirement gate, decision lens, execution order, or response structure, preserve those patterns in repo-local form instead of reducing everything to flat bullets.
Load references/design-patterns.md for command-center structure questions and references/example-transformations.md for side-by-side conversion examples.
## Core Skill section with more than one skill.## Mandatory Engine Skills, ## Optional Support Skills, or ## Preferred/Optional Skills sections without explicit legacy-compatibility scope.scripts/audit_agent_contract.py --root . when comparing against the live agent catalog.scripts/measure_skill_bundle_tokens.py --skill-dir .github/skills/internal-agent-creator after editing this bundle.tools:, subagent controls, and output expectations with references/review-checklist.md.references/requirements-and-persona.md.## Core Skill, when present, has exactly one existing skill; otherwise confirm no skill-list section exists.Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Use when /internal-aws selects the AWS governance lane for IAM operating models, trust policies, federation, permission boundaries, SCPs, tag policies, exception controls, or access guardrails.
Use when /internal-aws selects the AWS Lambda lane for handlers, event sources, runtimes, packaging, retries, concurrency, cold starts, or Lambda-specific configuration.
Use when /internal-aws selects the AWS research lane to retrieve current official AWS documentation, regional availability, service behavior, IAM state, or policy-simulation evidence.
Use when /internal-aws selects the AWS operations lane for monitoring, logging, rollout validation, backup and restore proof, DR evidence, reporting, or audit evidence.
Use when /internal-aws selects the AWS organization-structure lane for Organizations, accounts, OUs, delegated administrators, StackSets topology, or platform-level network placement.