strale: Skill for Claude Code

.agents/skills/source-command-end-session/SKILL.md

source-command-end-session is a skill for Claude Code, Codex from strale-io/strale. It costs 30 tokens per session (1,613 once invoked), scanned A, original, MIT.

An end-of-session command for a codebase: it checks the project, writes a handoff note, and records a Journal entry.

In plain words
What is it for?
It helps run the repository close-check, save session handoff details, record the session in the Journal, and surface loose threads.
Why use it?
It gathers unfinished work and verification warnings in one closing routine, so the next session can understand the project state.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is strale-io/strale's own configuration. It tells Claude Code and Codex how to work on strale 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 strale configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd apps/api && npx tsx --env-file=../../.env scripts/session-close-check.ts.

Reuse

Borrowing it

Nothing to install: this file belongs to strale-io/strale. 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/strale-io/strale/main/.agents/skills/source-command-end-session/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/strale-io/strale

Made for: Claude Code, Codex.

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 source-command-end-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/strale-io/strale/source-command-end-session/github.svg)](https://agentmods.dev/skills/strale-io/strale/source-command-end-session)
Your own site
<a href="https://agentmods.dev/skills/strale-io/strale/source-command-end-session"><img src="https://agentmods.dev/badge/skills/strale-io/strale/source-command-end-session/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 source-command-end-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/strale-io/strale/source-command-end-session"><img src="https://agentmods.dev/badge/skills/strale-io/strale/source-command-end-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,613 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.00030 $0.01613
Opus 5.5 $0.00012 $0.00645
Sonnet 5.5 $0.00006 $0.00323
Haiku 4.5 $0.00003 $0.00161

Measured 2mo ago against content hash f371bce86d24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

source-command-end-session 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 2mo 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.

.agents/skills/source-command-end-session/SKILL.md · 119 lines

How it starts

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

source-command-end-session

Use this skill when the user asks to run the migrated source command end-session.

Command Template

/end-session — verify, then write session artifacts + surface loose threads

Purpose: complete CLAUDE.md's Quick Session Checklist on Petter's behalf (AGENTS.md → "Session Checklists" carries the Codex-flavored pointer to the same list — AGENTS.md has no numbered checklist of its own, CLAUDE.md's is canonical). This command DOES write the handoff file and Journal entry — that's the standing preference (set 2026-04-27). It still does not create Decisions DB entries, To-do mutations, or other governance artifacts without explicit per-item approval.

Run these steps in order. After the checks, write the artifacts (steps 2 and 3) before producing the final report.

1. Run the codebase close-check script

cd apps/api && npx tsx --env-file=../../.env scripts/session-close-check.ts

Checks git integrity, DB↔code parity, stuck caps, open breakers, uncommitted handoff files. Exit codes: 0 clean, 1 warnings, 2 blockers. Capture findings for the final report.

2. Write the session handoff file (CLAUDE.md Quick Session Checklist step 7)

Author a handoff file at handoff/_general/from-code/YYYY-MM-DD-<topic>.md covering this session's work. Convention:

  • First line is Intent: summarizing what the session set out to do.
  • Body covers what shipped, what's open, non-obvious learnings, and cost (if any).
  • Topic slug should be specific enough that future-you can grep for it (e.g. x402scan-indexing-and-pr-cleanup, not cleanup).

If a handoff file authored this session already exists for today's topic (e.g. an earlier /go invocation already wrote one), don't duplicate — report its path. Only one handoff per topic per day; if the session covered two distinct topics, write two files.

If the session was genuinely trivial (single trivial fix, nothing worth recording), still write a one-line handoff. Skipping is Petter's call, not yours.

Read the full file on GitHub · 119 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. 2mo ago First seen · 119 lines · 30 tokens per session scan A f371bce86d24

Subscribe to this mod's changes

source-command-end-session is a skill published in the GitHub repository strale-io/strale (5 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,613 once invoked, about $0.0001 per session on Opus 5.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.

Related

source-command-end-session compared with skills from other repositories

source-command-end-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
source-command-end-sessionstrale-io/straleSkill5yesterdayMITA30Claude Code, Codex
jentic-api-scorecardjentic/jentic-api-scorecardSkill222d agoApache-2.0A128Claude Code, Codex
dos-verify-done-claimsanthony-chaudhary/dos-kernelSkill2110d agoMITA61Claude Code, Codex
mirrord-prev-envmetalbear-co/mirrordSkill5.4kyesterdayMITA122Claude Code, Codex
horse-integration-testsHashLoad/horseSkill1.4k8d agoMITA25Claude Code, Codex
skyvernSkyvern-AI/skyvernSkill23kyesterdayAGPL-3.0A131Claude Code
slack-announceWellApp-ai/WellSkill3522d agoMITA12Claude Code, Codex