checkin

checkin is a command for coding agents from cirwel/unitares. It costs 10 tokens per session (561 once invoked), scanned A, original, Apache-2.0.

A command for manually checking in with UNITARES governance during the current turn. Governance here means the rules and records used to track an agent's identity, state, and work.

In plain words
What is it for?
Use it to inspect local session context, establish a behavioral baseline, and report the agent's current work or progress to the governance system.
Why use it?
Regular check-ins help establish what the current agent is doing and prevent confusion when cached session information comes from an earlier process.

Command

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 commands/cirwel/unitares/checkin
Clone the repo
git clone --depth 1 https://github.com/cirwel/unitares

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 checkin

README.md
[![agentmods](https://agentmods.dev/badge/commands/cirwel/unitares/checkin.svg)](https://agentmods.dev/commands/cirwel/unitares/checkin)
Your own site
<a href="https://agentmods.dev/commands/cirwel/unitares/checkin"><img src="https://agentmods.dev/badge/commands/cirwel/unitares/checkin.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 561 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.00010 $0.00561
Opus 5 $0.00005 $0.00280
Sonnet 5 $0.00002 $0.00112
Haiku 4.5 $0.00001 $0.00056

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

Security

Grade A, and why

checkin 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.

commands/checkin.md · 54 lines

What it actually says

Before calling tools, check the local workspace cache inventory.

Use the shared helper in this repo:

  • scripts/client/session_cache.py list

If the newest entry contains parent_agent_id, treat it as local lineage context for attribution, not proof that the current process owns that UUID.

If current binding is unclear, call identity() first to inspect the active binding.

If you must test a cached UUID, use an advanced proof-owned rebind only when a matching current in-process continuity_token is available. Do not use legacy cache files as token sources.

If this is a fresh process and no ownership proof is available, use /governance-start to mint a fresh identity. Add parent_agent_id only when this process is genuinely inheriting work from a finished predecessor; do not infer lineage from the cache alone.

If no local continuity state exists and the current identity is unclear, use /governance-start first.

Call process_agent_update for the current agent once per assistant turn to establish a behavioral baseline. Also call it after meaningful milestones, before/after high-risk work, or when uncertainty/drift shows up.

Inputs:

  • response_text: concise summary of what was actually accomplished
  • complexity: estimate 0.0-1.0
  • confidence: honest estimate 0.0-1.0
  • use the active session binding or client_session_id; do not auto-inject continuity_token into process_agent_update
  • use response_mode="compact" by default for Codex; reserve response_mode="mirror" for drift, guide/pause verdicts, or diagnostic review

Guidelines:

  • Do not check in after every trivial edit or tool call.
  • Prefer one baseline check-in per assistant turn.
  • Add a check-in for meaningful milestones, completed steps, or decision points.
  • If you had to rebind with identity(), only use that restored binding when the response shows strong/proof-owned continuity.
  • If recent local edit context exists, use it to improve the summary, but do not report raw file churn as if it were real progress.
  • If deterministic results already happened in the workflow, mention them concretely instead of speaking in generalities.

After the call:

  • report the verdict
  • report identity-assurance or continuity warnings when they are surfaced
  • report margin or edge warnings when present
  • report any guidance briefly
  • report mirror signals or reflection prompts when present
  • if verdict is pause or reject, recommend request_dialectic_review
  • if verdict is guide, summarize the guidance and adjust behavior
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 · 54 lines · 10 tokens per session scan A 2099286d78c4

Subscribe to this mod's changes

checkin is a command published in the GitHub repository cirwel/unitares (4 stars, last pushed 3d ago), licensed Apache-2.0. It adds 10 tokens to every session and 561 once invoked, about $0.0001 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.