Skip to content
Back to skills

New Role Type

ASecurity

Create a role type from templates/role-type.md, validate it and regenerate the catalog. Use only when a human asks for a new type.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentspythonrustbash

Security analysis

A100/100

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

Scanned November 7, 2026

npx -y skills add ghvinashvili/specagent --skill new-role-type --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Role Type?

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

Security grade badge for New Role Type
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghvinashvili-new-role-type/badge)](https://www.skillsdirectory.com/skills/ghvinashvili-new-role-type)

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: new-role-type
description: Create a role type from templates/role-type.md, validate it and regenerate the catalog. Use only when a human asks for a new type.
disable-model-invocation: true
argument-hint: "[type-name]"
allowed-tools: Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/new_type.py *) Bash(uv run harness catalog *) Read Edit Write
---
# New role type

1. `python3 ${CLAUDE_SKILL_DIR}/scripts/new_type.py $0` copies the template to `.claude/agents/$0.md` with `name: $0`.
2. Fill `description` with the three sentences the template asks for, then `model`, `effort` and `tools` (never `Agent`).
3. Give every numbered step of the Working method its rule at the step's end, `<!-- check: ... -->` in the language of `packages/harness/src/harness/gates/steps.py` (read:, ran:, wrote:, output:, when:, trust:); once `docs/roles/need-to-know.yaml` gives the type a `steps` mode, `uv run harness validate` names a step without one.
4. Write the contract `docs/roles/types/$0.md` with the sections Receives, Returns, When it stops, Never.
5. `uv run harness catalog` validates every type against `schemas/role-type.schema.json` and regenerates `docs/generated/role-types.md`.
6. Add the type to `docs/roles/stages.yaml` only when the human named the stage it serves.

Files in this skill

  • SKILL.md1.2 KB
  • scripts/new_type.py1 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.