workflows-compound

workflows-compound is a skill for Claude Code from Kastalien-Research/thoughtbox. It costs 23 tokens per session (986 once invoked), scanned A, original, MIT.

A documentation step that records reusable lessons from a completed development workflow. It reads the workflow state, agent summaries, review report, design documents, and Git history.

In plain words
What is it for?
Use it after review and revision to document solutions, findings, and workflow improvements; it does not write code.
Why use it?
It preserves practical lessons so later development work can benefit from what was learned.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it after review and revision to document solutions, findings, and workflow improvements; it does not write code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kastalien-research/thoughtbox/workflows-compound
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.

Any agent
npx skills add Kastalien-Research/thoughtbox --skill workflows-compound
Clone the repo
git clone --depth 1 https://github.com/Kastalien-Research/thoughtbox

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 workflows-compound

README.md
[![agentmods](https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/workflows-compound/github.svg)](https://agentmods.dev/skills/kastalien-research/thoughtbox/workflows-compound)
Your own site
<a href="https://agentmods.dev/skills/kastalien-research/thoughtbox/workflows-compound"><img src="https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/workflows-compound/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 workflows-compound

Your own site · 80×15
<a href="https://agentmods.dev/skills/kastalien-research/thoughtbox/workflows-compound"><img src="https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/workflows-compound.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00023 $0.00986
Opus 5.5 $0.00009 $0.00394
Sonnet 5.5 $0.00005 $0.00197
Haiku 4.5 $0.00002 $0.00099

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

Security

Grade A, and why

workflows-compound 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 1mo 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/workflows-compound/SKILL.md · 137 lines

How it starts

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

Capture learnings from the current workflow: $ARGUMENTS

Purpose

You are executing Stage 7 (Compound) of the development workflow. Implementation is reviewed and revised. Your job is to extract reusable learnings from this workflow and persist them so future workflows benefit. You are NOT writing code — you are documenting what was learned.

Pre-Conditions

Before starting, verify:

  1. .workflow/state.json exists and currentStage is "compound"
  2. Review has passed (check stages.review.status is "completed")
  3. If revision happened, it's also completed

If pre-conditions are not met, report what's missing and halt.

Process

Step 1: Gather Evidence

Read all workflow artifacts:

  1. Workflow state: .workflow/state.json — timeline, iterations, stage notes
  2. Sub-agent summaries: .workflow/summaries/*.md — what was built
  3. Review report: .workflow/review-report.md — what was found
  4. Spec and ADR: The original design documents
  5. Git log: What actually changed
git log --oneline --since="$(jq -r .startedAt .workflow/state.json)" -- .

Step 2: Extract Learnings

Identify three categories of learnings:

Solutions — Reusable patterns for solving specific problems:

  • What problem was solved?
  • What approach worked?
  • What approach was tried and didn't work?
  • What would you do differently next time?

Discoveries — Things learned about the codebase or domain:

  • Unexpected behaviors encountered
  • Undocumented constraints discovered
  • Performance characteristics measured

Process — What worked or didn't in the workflow itself:

  • Which stages were smooth vs. painful?
  • Where did revision loops happen and why?
  • What spec assumptions were wrong?

Step 3: Write Solution Document

If a reusable solution was produced, write it to docs/solutions/:

# <Problem Title>

## Problem
[What problem this solves, in 2-3 sentences]

## Solution
[The approach that worked, with code references]

## Context
- Workflow: <id>
- Spec: <path>
- Date: <ISO date>

## Key Decisions
- [Decision 1]: [Why this choice was made]
- [Decision 2]: [Why this choice was made]

## What Didn't Work
- [Approach that was tried and abandoned, with brief explanation]

## Related
- [Links to specs, ADRs, or other solutions]

Read the full file on GitHub · 137 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. 1mo ago First seen · 137 lines · 23 tokens per session scan A 327455bdaa0b

Subscribe to this mod's changes

workflows-compound is a skill published in the GitHub repository Kastalien-Research/thoughtbox (65 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 986 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-30.

Related

Other skills, from other repositories

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

phylogenetics

Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein…

K-Dense-AI/scientific-agent-skills · 71 tokens

unity-yaml-editing

Last-resort guidance for safely hand-editing Unity YAML.

Besty0728/Unity-Skills · 17 tokens

ad-policy-check

Checks paid ads against the ad platform's rules (Meta, TikTok, Google, LinkedIn and others) and the brand's category rules: the copy, on-image or on-screen text, pictures and people. Rewrites what can be fixed honestly, adds the disclosures that are needed, and flags anything that needs a human or legal review, with…

gooseworks-ai/goose-skills · 128 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the chosen backdrop colour, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed…

gooseworks-ai/goose-skills · 159 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens