progress-and-streaming
Skill36 starsChanged 5 months agoMITView on GitHub
Convention for streaming progress on long-running audit commands. Use during /audit, /audit-deep, /audit-strict, /simulate, /exploit-chain — anything taking >10 seconds.
In this repository44 other files it gives its agents.
- access-controlSkill
- approval-issuesSkill
- caching-and-incrementalSkill
- centralization-riskSkill
- confidence-scoringSkill
- cosmwasmSkill
- cross-chain-messagingSkill
- cross-contract-stateSkill
- delegatecall-risksSkill
- diamond-eip2535Skill
- dos-vectorsSkill
- erc1271-contract-signaturesSkill
- erc4337-account-abstractionSkill
- erc4626-inflationSkill
- false-positive-feedback-loopSkill
- fee-on-transferSkill
- flash-loan-attacksSkill
- initializationSkill
- inline-assemblySkill
- integer-issuesSkill
- intents-erc7683Skill
- known-good-comparisonSkill
- liquidation-cascadeSkill
- mev-frontrunningSkill
- mev-pbsSkill
- multi-pass-self-critiqueSkill
- oracle-manipulationSkill
- oracle-redundancySkill
- permit2-patternsSkill
- pragma-and-addressesSkill
- reentrancySkill
- restaking-eigenlayerSkill
- selfdestruct-eip6780Skill
- signature-malleabilitySkill
- signature-replaySkill
- solana-anchorSkill
- storage-layoutSkill
- stylus-rustSkill
- token-compatibilitySkill
- tx-context-misuseSkill
- unchecked-callsSkill
- ve-lock-governanceSkill
- vyper-specificSkill
- zk-verifier-bugsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
No spinners or animations (terminal output, not UI).
- Very specific: line 45
No ANSI colors unless process.stdout.isTTY AND user hasn't disabled.
- Distinctive: line 46
No hidden state — every meaningful event gets a line.
- Distinctive: line 50
If the user interrupts (Ctrl+C / Esc), emit:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Progress & streaming (meta-skill)
Long audits with no output feel broken. This skill defines the contract for live updates.
When to stream
- Any command expected to take >10 seconds.
- Any command that dispatches multiple subagents in parallel.
- Any command that reads many files (>5).
What to emit
Stream short status lines to stdout as work progresses. Each line should be self-contained — a user reading the third line shouldn't need the first two.
Stages
[1/5] Inventory scanning src/ for Solidity files
[1/5] Inventory found 12 files (3,456 LoC), Solidity 0.8.24
[2/5] Skills running reentrancy, access-control, oracle-manipulation, …
[2/5] Skills 18 skill checks complete (847ms)
[3/5] Specialists dispatching: amm-specialist, attacker, defender (parallel)
[3/5] Specialists amm-specialist: 3 findings
[3/5] Specialists attacker: 5 findings (1 chain candidate)
[3/5] Specialists defender: 2 missing-defense notes
[4/5] Consolidate dedup + severity assignment
[5/5] Report 12 findings, grade C → wrote auditsentry-reports/audit-2026-05-13.mdFormat
[N/M] STAGE message— N is current stage, M is total- Stage name padded to 12 chars for alignment
- Message in lowercase, terse, no "I am now ..." prose
- Numbers preferred over adjectives ("847ms" beats "quickly")
Don't
- No spinners or animations (terminal output, not UI).
- No ANSI colors unless
process.stdout.isTTYAND user hasn't disabled. - No hidden state — every meaningful event gets a line.
Cancellation
If the user interrupts (Ctrl+C / Esc), emit:
[!] cancelled at stage [3/5]: dispatched specialists are still running, partial results saved to .auditsentry/partial/Implementation note
In a Claude Code slash-command context, this means: emit short text messages between tool calls. The user sees them streamed. Don't batch all updates into a final block.
Related
- [[caching-and-incremental]] — show cache stats in stage [1/5]
- [[confidence-scoring]] — show per-skill confidence as findings come in
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

