cantrips-loop

cantrips-loop is an agent for coding agents from toverux/cantrips. It costs 0 tokens per session (360 once invoked), scanned A, original, MIT.

A description of how this repository stores project specifications and work tickets in local Markdown files. A specification explains the intended work, while tickets break it into individual tasks.

In plain words
What is it for?
Use it to publish or fetch a feature specification, add dated comments, create dependency-ordered tickets, read tickets, and mark completed tickets as resolved.
Why use it?
It gives other repository tools a shared way to save, read, annotate, and resolve planning information. It also records dependencies and completion status in predictable files.

Agent

Part of the cantrips plugin — 25 skills, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/toverux/cantrips/cantrips-loop
Clone the repo
git clone --depth 1 https://github.com/toverux/cantrips

Or install cantrips, the plugin that ships this one along with the rest of its 25 skills, 1 agent.

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 cantrips-loop

README.md
[![agentmods](https://agentmods.dev/badge/agents/toverux/cantrips/cantrips-loop.svg)](https://agentmods.dev/agents/toverux/cantrips/cantrips-loop)
Your own site
<a href="https://agentmods.dev/agents/toverux/cantrips/cantrips-loop"><img src="https://agentmods.dev/badge/agents/toverux/cantrips/cantrips-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 360 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00360
Opus 5 $0.00000 $0.00180
Sonnet 5 $0.00000 $0.00072
Haiku 4.5 $0.00000 $0.00036

Measured 3d ago against content hash 7e51a557dbb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cantrips-loop 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 3d 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.

docs/agents/cantrips-loop.md · 24 lines

What it actually says

The cantrips loop in this repo

What the six storage verbs translate to here, and which knowledge stores are enabled. Storage-touching skills read this doc instead of the plugin defaults. /setup-cantrips-loop wrote it; re-run that skill to change it.

Storage backend

Local markdown under a gitignored .scratch/; closing a feature means deleting .scratch/<feature>/.

  • Publish the spec (publish-spec) — write it to .scratch/<feature>/spec.md, <feature> a kebab-case slug.
  • Fetch the spec (fetch-spec) — read .scratch/<feature>/spec.md.
  • Annotate the spec (annotate-spec) — append under a ## Comments heading at the end of the file, each entry prefixed with its date; the body above stays frozen.
  • Publish the tickets (publish-tickets) — one file per ticket at .scratch/<feature>/NN-<slug>.md, numbered from 01 in dependency order, blocking edges as each ticket's "Blocked by" prose; the shared folder ties a ticket to its parent spec.
  • Fetch the ticket (fetch-ticket) — read the ticket file.
  • Resolve the ticket (resolve-ticket) — add or flip a Status: resolved line under the ticket's title; the ticked criteria stay as evidence.

Invariants, here as on any backend: an annotation appends without disturbing what is already there, stays time-ordered, and governs over the body it revises; a ticket is traceable to its parent spec.

Knowledge stores

  • docs/adr/enabled.
  • docs/solutions/disabled.
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. 3d ago First seen · 24 lines · 0 tokens per session scan A 7e51a557dbb1

Subscribe to this mod's changes

cantrips-loop is an agent published in the GitHub repository toverux/cantrips (2 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 360 tokens. 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.

Related

Other agents, from other repositories

paper-miner

Use this agent when the user provides a research paper (PDF/DOCX/arXiv link) or asks to learn writing patterns from papers, extract venue-specific writing signals, study paper structure, or mine rebuttal strategies. The agent writes extracted knowledge into the active installed paper-miner writing memory for…

Galaxy-Dawn/claude-scholar · 77 tokens

rlm-factory-init-agent

Guided setup wizard for the rlm-factory plugin. Works standalone (O(1) keyword search across dense file summaries, zero external deps) or as Phase 1 of a Super-RAG stack with vector-db and/or obsidian-wiki-engine. Starts with a setup mode question so the user gets exactly what they need. Creates rlmprofiles.json and…

richfrem/agent-plugins-skills · 247 tokens

vector-db-init-agent

Guided setup wizard for the vector-db plugin. Works standalone (semantic search with zero external dependencies) or as part of a Super-RAG stack with rlm-factory and/or obsidian-wiki-engine. Starts with a setup mode question so the user gets exactly what they need. Installs Python dependencies, creates…

richfrem/agent-plugins-skills · 179 tokens

activity-memory

Activity memory is enabled by default. Use this procedure after a review unless athlete/profile.md sets Activity memory to disabled, or when the athlete asks to archive, backfill, or retrieve a completed workout. An explicit archive request always proceeds.

rlacombe/switchback-running · 0 tokens

agentic-os-setup

Trigger with "use the agentic-os-setup agent", "run the setup agent", "set up an agentic OS", "persist memory", "add the OS harness", or when the user requires memory persistence, repository-level conventions, or autonomous background loops. Directs the orchestration, synthesis, and provisioning of a persistent AI…

richfrem/agent-plugins-skills · 319 tokens

cantrips-loop

What the six storage verbs translate to here, and which knowledge stores are enabled. Storage-touching skills read this doc instead of the plugin defaults. /setup-cantrips-loop wrote it; re-run that skill to change it.

CitiesSkylinesModding/agents-plugins · 0 tokens