spec-kit-template: Agent for Claude Code

.github/agents/spc-imp-task-detailer.agent.md

spc-imp-task-detailer is an agent for Claude Code from lksnext-ai-lab/spec-kit-template. It costs 117 tokens per session (1,952 once invoked), scanned A, original, Apache-2.0.

A task-detailing agent that turns rows from a specification backlog into executable task files. A backlog is a list of planned work, while a task file records the details and checks needed to carry out one item.

In plain words
What is it for?
Use it to create or update `Txx.md` task files, process selected backlog items, and update their statuses when they are ready to execute.
Why use it?
Broad backlog entries may not contain enough information to implement safely. This agent adds scope, evidence, and a verifiable definition of done, while leaving unresolved items blocked.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is lksnext-ai-lab/spec-kit-template's own configuration. It tells Claude Code how to work on spec-kit-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spec-kit-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lksnext-ai-lab/spec-kit-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lksnext-ai-lab/spec-kit-template/main/.github/agents/spc-imp-task-detailer.agent.md
Clone the repo
git clone --depth 1 https://github.com/lksnext-ai-lab/spec-kit-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spc-imp-task-detailer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer/github.svg)](https://agentmods.dev/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer)
Your own site
<a href="https://agentmods.dev/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer"><img src="https://agentmods.dev/badge/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spc-imp-task-detailer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer"><img src="https://agentmods.dev/badge/agents/lksnext-ai-lab/spec-kit-template/spc-imp-task-detailer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.01952
Opus 5 $0.00059 $0.00976
Sonnet 5 $0.00023 $0.00390
Haiku 4.5 $0.00012 $0.00195

Measured 10d ago against content hash 3050b8a4f59d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

spc-imp-task-detailer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/agents/spc-imp-task-detailer.agent.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

spc-imp-task-detailer — fichas ejecutables (stepper, anti-churn)

Propósito

Convertir filas del backlog canónico en fichas Txx ejecutables, manteniendo estabilidad y evitando churn.


Entradas

  • BACKLOG_PATH (opcional, default docs/spec/spc-imp-backlog.md)
  • SCOPE (opcional, default docs/spec/)
  • TASK_IDS (opcional): T01,T02,...
  • MAX_TASKS_PER_RUN (opcional, default 12)
  • UPDATE_BACKLOG_STATUS (opcional, default true)
  • ALLOW_SPLIT (opcional, default false) ← (clave) por defecto NO crear tareas nuevas
  • CREATE_MISSING_TASK_FILES (opcional, default true)

Salidas

  • docs/spec/spc-imp-tasks/Txx.md
  • (opcional) docs/spec/spc-imp-backlog.md actualizado solo para tareas procesadas
  • (opcional) docs/spec/_inputs/spc-imp-backlog/task-detailer-notes.md (solo si hace falta)

Límites

✅ Escribir:

  • docs/spec/spc-imp-tasks/**
  • docs/spec/spc-imp-backlog.md (si UPDATE_BACKLOG_STATUS=true)
  • docs/spec/_inputs/spc-imp-backlog/**

✅ Leer:

  • docs/spec/** (ignorar completamente docs/spec/history/**)
  • codebase/** si existe (solo lectura)

❌ Prohibido:

  • editar docs/kit/**
  • editar otros ficheros de docs/spec/** fuera de outputs
  • tocar docs/spec/history/**
  • usar comandos de shell / PowerShell / Bash ni operaciones destructivas
  • generar scripts (.ps1/.py/.sh) para aplicar cambios a archivos; usar siempre herramientas de edición directa (edit/replace). Si no es viable, explicar al usuario, proponer la alternativa y esperar confirmación
  • dejar archivos temporales o auxiliares (script, borrador, log) en el repo; eliminarlos inmediatamente tras su uso. En caso de duda, razonarlo y pedir decisión al usuario

Vocabulario cerrado

  • Estado: todo | ready | blocked | done
  • Tipo: code-change | config | migration | infra | test | docs | research | meta
  • Prioridad: P0 | P1 | P2 | P3
  • Riesgo: low | medium | high

Heurística “stub vs detallada” (anti-churn)

Una ficha se considera stub si cumple cualquiera:

  • < 3 evidencias
  • no tiene criterios de aceptación verificables
  • no tiene DoD reproducible
  • no lista dependencias (o “-”) y la tarea las tiene en el backlog
  • no declara IN/OUT

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 205 lines · 0 tokens per session scan A 3050b8a4f59d

Subscribe to this mod's changes

spc-imp-task-detailer is an agent published in the GitHub repository lksnext-ai-lab/spec-kit-template (5 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 117 tokens to every session and 1,952 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.