Skip to content
Back to skills

Collection

ASecurity

Creates and configures Claude Code agent files (.claude/agents/*.md) with YAML frontmatter, tool permissions, model selection, and system prompt structure. Use when building new agents, configuring agent frontmatter, designing discovery triggers, setting tool permissions, writing system prompts, or selecting agent models.

  • 24 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
ai-agentstypescriptpythonbashreactcode-reviewperformance

Works with

  • claude code
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add mattnigh/skills_collection --skill collection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattnigh-collection-123dba77/badge)](https://www.skillsdirectory.com/skills/mattnigh-collection-123dba77)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-builder
type: standard
depth: base
description: Creates and configures Claude Code agent files (.claude/agents/*.md) with YAML frontmatter, tool permissions, model selection, and system prompt structure. Use when building new agents, configuring agent frontmatter, designing discovery triggers, setting tool permissions, writing system prompts, or selecting agent models.
---

# [H1][AGENT-BUILDER]
>**Dictum:** *Structured frontmatter and scoped tools enable discoverable agents.*

<br>

Specialized execution contexts for main Claude agent invocation. Frontmatter controls discovery; markdown body encodes behavior.

**Location:** `.claude/agents/` (project) or `~/.claude/agents/` (user). Project agents override user agents on name collision.

**Tasks:**
1. Read [index.md](./index.md) — Reference file listing for navigation
2. Read [frontmatter.md](./references/frontmatter.md) — Schema, triggers, syntax validation
3. Read [prompt.md](./references/prompt.md) — Structure patterns, constraint markers
4. Read [workflow.md](./references/workflow.md) — 5-phase creation process
5. (prose) Load `style-standards` skill — Voice, formatting, constraints
6. Execute per workflow — UNDERSTAND, ACQUIRE, RESEARCH, AUTHOR, VALIDATE
7. Validate — Quality gate; see §VALIDATION

**Templates:** [→agent.template.md](./templates/agent.template.md) — Standard agent scaffold.

[REFERENCE]: [index.md](./index.md) — Complete reference file listing

---
## [1][FRONTMATTER]
>**Dictum:** *Metadata enables discovery before load.*

<br>

```yaml
---
name: agent-name
description: >-
  Capability statement. Use when scenario-1, scenario-2, or scenario-3.
tools: Read, Glob, Grep
model: sonnet
skills: style-standards
---
```

| [INDEX] | [FIELD]       | [TYPE] | [REQ] | [CONSTRAINT]                               |
| :-----: | ------------- | ------ | :---: | ------------------------------------------ |
|   [1]   | `name`        | string |  Yes  | Kebab-case, max 64 chars, match filename   |
|   [2]   | `description` | string |  Yes  | Third person, active voice, trigger clause |
|   [3]   | `tools`       | list   |  No   | Comma-separated; omit = inherit all tools  |
|   [4]   | `model`       | enum   |  No   | `haiku`, `sonnet`, `opus`, `inherit`       |
|   [5]   | `skills`      | list   |  No   | Skill names agent can invoke               |

---
## [2][DISCOVERY]
>**Dictum:** *Description quality determines invocation accuracy.*

<br>

Reasoning matches description directly—no embeddings, no keyword matching.

| [INDEX] | [PATTERN]           | [EXAMPLE]                            | [MECHANISM]                |
| :-----: | ------------------- | ------------------------------------ | -------------------------- |
|   [1]   | "Use when" clause   | `Use when building MCP servers`      | Direct activation signal   |
|   [2]   | Proactive trigger   | `Use proactively after code changes` | Encourages auto-invocation |
|   [3]   | Imperative emphasis | `MUST BE USED before committing`     | Strong delegation signal   |
|   [4]   | Enumerated list     | `(1) creating, (2) modifying`        | Parallel pattern matching  |
|   [5]   | Technology embed    | `Python (FastMCP) or TypeScript`     | Framework-specific match   |
|   [6]   | File extension      | `working with PDF files (.pdf)`      | Path-based triggering      |
|   [7]   | Catch-all           | `or any other agent tasks`           | Broadens applicability     |

[CRITICAL]:
- [NEVER] Hedging words: `might`, `could`, `should`, `probably`.
- [ALWAYS] Include "Use when" clause—3+ trigger scenarios.
- [ALWAYS] Third person, active voice, present tense.

---
## [3][TOOLS]
>**Dictum:** *Tool declarations scope permissions.*

<br>

| [INDEX] | [PATTERN]     | [TOOLS]                         | [USE_CASE]         |
| :-----: | ------------- | ------------------------------- | ------------------ |
|   [1]   | Read-only     | `Read, Glob, Grep`              | Analysis, review   |
|   [2]   | Write-capable | `Read, Edit, Write, Glob, Bash` | Implementation     |
|   [3]   | Orchestration | `Task, Read, Glob, TodoWrite`   | Agent dispatch     |
|   [4]   | Full access   | *(omit field)*                  | Inherits all tools |

[IMPORTANT]:
- [NEVER] Reference `@path` without `Read` in tools list.
- [ALWAYS] Omit `tools` field for general-purpose agents.
- [ALWAYS] Scope tools for specialized agents—reviewers require read-only.

---
## [4][MODELS]
>**Dictum:** *Model selection balances capability against latency and cost.*

<br>

| [INDEX] | [MODEL] | [ALIAS] | [STRENGTH]              | [LATENCY] | [COST]  |
| :-----: | ------- | ------- | ----------------------- | :-------: | :-----: |
|   [1]   | opus    | opus    | Complex reasoning       |   High    |  High   |
|   [2]   | sonnet  | sonnet  | Balanced performance    |  Medium   | Medium  |
|   [3]   | haiku   | haiku   | Fast, simple tasks      |    Low    |   Low   |
|   [4]   | inherit | inherit | Match main conversation |  Session  | Session |

| [INDEX] | [TASK_TYPE]             | [MODEL] |
| :-----: | ----------------------- | :-----: |
|   [1]   | Multi-file scope        |  opus   |
|   [2]   | Architectural decisions |  opus   |
|   [3]   | Standard development    | sonnet  |
|   [4]   | Fast lookups, filtering |  haiku  |

[IMPORTANT] Omit `model` field to inherit session default.

---
## [5][SYSTEM_PROMPT]
>**Dictum:** *Structured prompts constrain execution.*

<br>

Markdown body follows frontmatter. Body encodes agent behavior; structure determines effectiveness.

---
## [6][NAMING]
>**Dictum:** *Naming conventions enable discovery.*

<br>

| [INDEX] | [PATTERN]       | [EXAMPLE]            | [USE_CASE]            |
| :-----: | --------------- | -------------------- | --------------------- |
|   [1]   | Role-based      | `code-reviewer`      | Specialized function  |
|   [2]   | Action-based    | `generating-commits` | Gerund form preferred |
|   [3]   | Domain-specific | `react-specialist`   | Technology expertise  |

[CRITICAL]:
- [NEVER] Generic names: `helper`, `processor`, `agent`.
- [NEVER] Underscores or mixed case.
- [ALWAYS] Kebab-case—lowercase, hyphens only.
- [ALWAYS] Filename matches `name` field exactly.

---
## [7][VALIDATION]
>**Dictum:** *Validation gates prevent incomplete artifacts.*

<br>

[VERIFY] Completion:
- [ ] Workflow: All 5 phases executed (UNDERSTAND → VALIDATE).
- [ ] Frontmatter: Valid YAML, description with "Use when" clause.
- [ ] Tools: Matches type gate (readonly|write|orchestrator|full).
- [ ] Prompt: Role line + H2 sections + constraint markers.
- [ ] Quality: Kebab-case naming, filename matches `name` field.

[REFERENCE] Operational checklist: [→validation.md](./references/validation.md)

Files in this skill

  • 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md15.1 KB
  • 17hz__nextjs-template__claude__skills__example-skill__SKILL.md316 B
  • 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md3.5 KB
  • 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md5.4 KB
  • 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md7.7 KB
  • 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md26.1 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md15.7 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md17.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md9.4 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md12.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md16.6 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md11.2 KB
  • 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md14.8 KB
  • 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md16.2 KB
  • 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md11.8 KB
  • 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md17.5 KB
  • 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md19.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md6.2 KB
  • 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md18.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md24.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.