Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/ShaftHQ/SHAFT_ENGINEnpx agentmods add skills/shafthq/shaft_engine/pre-done-self-reviewWrote 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.
[](https://agentmods.dev/skills/shafthq/shaft_engine/pre-done-self-review)<a href="https://agentmods.dev/skills/shafthq/shaft_engine/pre-done-self-review"><img src="https://agentmods.dev/badge/skills/shafthq/shaft_engine/pre-done-self-review/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.
<a href="https://agentmods.dev/skills/shafthq/shaft_engine/pre-done-self-review"><img src="https://agentmods.dev/badge/skills/shafthq/shaft_engine/pre-done-self-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00625 |
| Opus 5.5 | $0.00016 | $0.00250 |
| Sonnet 5.5 | $0.00008 | $0.00125 |
| Haiku 4.5 | $0.00004 | $0.00063 |
Grade A, and why
pre-done-self-review 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-done self-review
Green tests are not Done. Before you say "Done", sign off as owner or
reviewer, or write a handoff note, run this review on the status report (PR
body, handoff note, or status doc). Run
python3 .chaos-engine/tool.py retrieve --store graphify "<task> standing rules" and
python3 .chaos-engine/tool.py retrieve --store mempalace "<task> standing rules" first.
Steps
-
Rules reconcile. List every standing rule that applies: user memory, project and harness skills, the overlay, and the item's Definition of Done. Check every tracked item against each rule, not only against tests.
-
Gaps cite a rule and an alternative. Every
BlockedorSkippedrow carriesrule: <rule that permits it>andalt: <mock, fixture, stub, fake, simulator, or recording tried>. If a rule says a gap needs a substitute (for example blocked-on-data needs mock coverage), build the substitute; it is not a gap you can report. -
Derived views match the source. Diagrams (mermaid), summaries, and counts are views of the status table. Regenerate them, or edit them in the same change as the table.
-
Adversarial pass. Write a
## What's missingsection that answers the user's next question, "are we missing any?": items not tracked, rules not checked, and evidence not opened this turn. -
Machine check. Run the gate (
pre_done_review.py), fix every finding, then re-run it:python3 .chaos-engine/tool.py pre-done report.md # 0 pass, 1 findings, 2 usage python3 .chaos-engine/tool.py pre-done report.md --json
What the gate enforces
- A status table exists (first markdown table with a
Statuscolumn; the ID is in the first column). - Mermaid drift: a node
ID[status]orclass ID statusthat disagrees with the row's status fails. - Blocked/Skipped rows without
rule:or withoutalt:naming a substitute fail. - Declared counts in prose (
Blocked: 3) that differ from the table fail. - A missing or empty
## What's missingsection fails.
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.
- today First seen · 53 lines · 41 tokens per session scan A f9ecc50454fb
pre-done-self-review is a skill published in the GitHub repository ShaftHQ/SHAFT_ENGINE (417 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 625 once invoked, about $0.0002 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-10-24.
Other skills, from other repositories
jira_integration
Skill tích hợp Jira/Xray — lấy requirements từ Jira, xác thực Xray, và đẩy kết quả test lên Xray Cloud/Server.
testany-workspace
A workspace administration tool for Testany, a platform for managing testing resources. A workspace separates projects or teams and controls which members can access them.
delivery-secretary
A skill for managing delivery records across multiple engineering sessions and roles. It tracks commitments, task breakdowns, dependencies, blockers, decisions, evidence, and the next agreed step.
team-workspace
A local web workspace for organising AI team members and connecting them to existing Codex tasks. Codex is a coding agent environment; this workspace does not create a separate model environment.
RBT Manual Testing
Skill sinh manual test cases với 2 modes — QUICK (sinh nhanh từ requirements) và FULL RBT (quy trình AI-RBT 6 bước có đánh giá rủi ro). Master skill cho mọi tác vụ manual test case.
Framework Architect
Skill thiết kế và scaffold automation framework hoàn chỉnh cho Playwright, Selenium, và Appium — bao gồm project structure, base classes, config management, reporting, và CI/CD integration.