Skip to content
Back to skills

Decisions

ASecurity

Date: 2026-09-05 · Status: accepted

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agents

Works with

  • claude code

Security analysis

A100/100

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

Scanned November 24, 2026

npx -y skills add IBM/TKSfw --skill decisions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decisions?

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

Security grade badge for Decisions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ibm-decisions/badge)](https://www.skillsdirectory.com/skills/ibm-decisions)

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
# ADR 0003 — Agent definition and naming move from AGENTS.md into the `define-agent` skill

Date: 2026-09-05 · Status: accepted

## Context
§ Agent Naming (~3.5 KB) and the agent-file field rules (~1.3 KB) were always-on in AGENTS.md but
are needed only when an agent is created or renamed. The role vocabulary was duplicated between
AGENTS.md and `[roles]` in `.agents/models.toml`. Nothing validated an agent file at write time; a
bad name surfaced only when the routing hook refused the spawn.

## Decision
| Choice | Rationale |
|---|---|
| Skill `define-agent` owns the whole procedure (fields + naming) | one owner, one reference (`references/naming.md`), Group-A: depends only on AGENTS.md L1/L2 and data from `models.toml` |
| `validate_agent.py` wired into `track_edits.py` for `.codex/agents/*.toml` | the same "content may leave the always-on file once a hook guarantees the outcome" argument that moved the ledger schemas |
| Vocabulary = keys of `[roles]`, minus `[naming] builtin_agents` | single source; the routing hook and the validator read the same table |
| AGENTS.md keeps a 3-bullet kernel + the load rule | pattern, reserved `main` and "rename is logged" are used at every delegation and every ledger entry, not only at creation |
| `sync --models` validates the rendered text | strip/inline re-renders are judged on their result; an invalid file is never mirrored to Claude Code |

## Consequences
- A non-conforming definition cannot persist unnoticed (write blocked; spawn still refused as second net).
- Warnings (short instructions, sandbox/tier mismatch, hand-written model in inline mode) are advisory.
- AGENTS.md headroom grows to ~14 KB under the 32 KiB cap.

Files in this skill

  • 0001-repository-layout.md2 KB
  • 0002-model-routing.md2 KB
  • 0003-define-agent-skill.md1.7 KB
  • 0004-neutral-agent-source.md1.9 KB
  • 0005-arming-guard.md1.7 KB
  • 0006-delegate-work-skill.md1.9 KB
  • 0007-activity-plan-skill.md1.8 KB
  • 0008-sessions-ownership-lost-update.md2.8 KB
  • 0009-ks-cli-and-archives.md2.2 KB
  • 0010-partitioned-ledgers.md2.7 KB
  • 0011-ledgers-as-context.md2.8 KB
  • 0012-human-in-the-loop.md2.4 KB
  • 0013-project-layers.md4.8 KB
  • 0014-config-toml-and-routing-tables.md2 KB
  • 0015-session-scoped-routing.md2.2 KB
  • 0016-layer-model-by-name.md2.4 KB
  • 0017-ks-output-conventions.md2.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.