Chalk Labs
Need help deploying harness-deflate?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alan-ift-harness-deflate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/harness-deflate
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Glob,Grep,Task
What's inside
- Skill name
harness-deflate- Description
- Holistic anti-entropy sweep. Scans the WHOLE codebase (not one task) for accumulated structural rot — shallow modules, cross-seam leakage, coupling clusters, deepening candidates — and presents each finding with WHERE and a strength badge. It NEVER refactors without your explicit authorization; once given, it hands the chosen deepening to /harness-goal. Use when "clean up the codebase entropy", "where's the ball of mud", "do an anti-entropy sweep", "减熵巡检", "整体看看哪里在腐化". NOT /harness-supervise (per-task pipeline audit, not whole-codebase structure), NOT /harness-goal directly (that is the engine this skill drives), NOT /harness (a defined feature, not an open-ended deepening).
- License
- MIT
- Allowed tools
- Read,, Glob,, Grep,, Task
- Instructions
- 110 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- entropy-scan.md · references/
SKILL.md (first lines)
# /harness-deflate
A **holistic anti-entropy sweep**: scan the WHOLE codebase for accumulated structural rot,
present each finding with WHERE and a strength badge, and — only on your explicit pick —
hand the chosen deepening to `/harness-goal` to refactor it to `verify_all` green. The
loop is **machine reminds → you authorize → machine executes**; it NEVER refactors without
an explicit authorization.
This skill is thin orchestration: it owns NO scan engine and NO refactor loop. The scan is
the read-only `supervisor` entropy lens; the execute is `/harness-goal`. `allowed-tools`
deliberately excludes `Edit`/`Bash` — this skill cannot itself edit a file or
run a script; it only dispatches via `Task`.
## When to invoke
- "Clean up the codebase entropy" / "what's rotting?" / "where's the ball of mud?" /
"do an anti-entropy sweep" — you want a holistic structural read, not a per-task audit.
- 中文:"减熵巡检" / "做一次反熵巡检" / "整体看看哪里在腐化".
- You saw a `## Entropy watch` section surface at a `/harness-stream` drain and want to act
on a finding — invoke this to authorize the deepening.
## When NOT to invoke
| Symptom | Use this instead |
|---|---|
| Audit ONE task folder for pipeline anti-patterns (rollback rate, thin docs, missing archive) | `/harness-supervise` |
| You already know the exact deepening and just want it executed to green | `/harness-goal` directly |
| A defined feature / bug / refactor (a specified change, not an open-ended deepening) | `/harness` |
| Vet a design before code | `/harness-plan` |
## Procedure
1. **Scan (dispatch the supervisor entropy lens).** Dispatch `harness-kit:supervisor` via the
`Task` tool **in entropy mode**. The dispatch prompt MUST name: "entropy lens / EP-* /
follow `skills/harness-deflate/references/entropy-scan.md` exactly / write
`docs/features/_supervision/entropy-<ISO-date>.md`". That reference file is the SINGLE
source of the scan methodology + artifact schema (the supervisor stub and this prompt both
point at it — never restate it). The supervisor is observer-only (no Edit/Bash/Task) and
writes exactly one artifact.
2. **Present.** Read the findings artifact. Present the findings table to the user: `ID`,
`Class` (EP-1..EP-4), `Where` (file/module), `Strength` (`Strong` / `Worth exploring` /
`Speculative`), and the one-line deletion-test verdict.
3. **Clean short-circuit.** If the artifact's last line is `Entropy-verdict: CLEAN` → report
"no entropy findings" and **stop**. No execute step.
4. **Authorize gate (three-way pick).** Ask the user which finding(s) to **deflate**, to
**decline**, or "**none**". **NEVER proceed without an explicit pick** — absent any pick, every
finding stays open and zero edits occur.
- **deflate `EP-NNN`** → go to step 5 (the `/harness-goal` execute).
- **none** → every finding stays open, zero edits, stop.
- **decline `EP-NNN`** (memory-write only — NO refactor, NO `/harness-goal` dispatch, NO
production-file edit) → record the decline so it stops re-surfacing on future sweeps:
1. Resolve `EP-NNN` to its row in the just-presented artifact. **If the id is not among the
current findings** → report "EP-NNN is not among the current findings" and take NO write
(no guessing which module was meant). Stop.
2. The decline's concept handle = the finding's **stable key** = its `Where (file/module)`,
normalized per the `## Decline filter` rule in `references/entropy-scan.md` (same key the
scan filter uses — defined ONCE there; do not restate it here).
3. **Record-shape CONTRACT** — a T-09-format record is appended to
`.harness/rejected-decisions.md` (created from the standard seed if absent). This skill has
NO `Edit`/`Write` tool; the append is the **main agent's** decide-point decision-recording
habit per `.harness/rules/25-decision-policy.md` (this skill does not edit the file itself).
The record shape:
## <stable-key>
- **Decision:** declined.
- **Why:** <user's stated reason, or "not worth the deepening" if none given>.
- **Origin:** entropy sweep <ISO-date> · EP-<class>.
where `<class>` is the finding's class word (`shallow module` / `cross-seam leakage` /
`coupling cluster` / `deepening candidate`) — date + class, NOT the unstable per-run EP-NNN.
4. **De-dup (T-09 contract):** if a record for `<stable-key>` already exists, append this
origin to that record's `- **Origin:**` line (a re-occurrence) rather than creating a second
record. One record per concept.
5. **Execute (only on authorization).** Dispatch `/harness-goal` via the `Task` tool with
goal = "land the EP-<id> deepening: <Where> — <one-line solution>" and success criterion =
"`.harness/scripts/verify_all` is green AND the deepening described in EP-<id> is in place".
`/harness-goal` runs the Dev + QA loop to green. Repeat per authorized finding.
6. **Report.** Summarize: which findings were presented, which the user authorized, and the
outcome of each `/harness-goal` run (final `verify_all` result + what landed).
## Relationship to the cadenced stream surface
`/harness-stream` runs this exact scan automatically at a **due** cadence boundary (the shared
`.harness/scripts/entropy-cadence` pair decides "due") and surfaces a `## Entropy watch`
section in `STREAM_REPORT.md` — informational, non-blocking, no execute. `/harness-deflate` is
the **manual** entry point and the authorize→execute front end: the manual sweep is always
"due" (no cadence check), and it is the only path that reaches the execute step. Both share
ONE scan definition (`references/entropy-scan.md`) and ONE supervisor lens.
## Hard rules
- **Never refactor without an explicit user pick.** The scan agent physically cannot refactor
(observer-only); this skill cannot edit (no `Edit`/`Bash` in `allowed-tools`); the execute is
a SEPARATE `/harness-goal` dispatch gated on the step-4 authorization. No code path reaches an
edit without authorization.
- **Compose, don't reconstruct.** The scan methodology + artifact schema live ONLY in
`references/entropy-scan.md`; the execute loop lives ONLY in `/harness-goal`. Never inline a
copy of either.
- **Observer boundary holds.** The scan widens the supervisor's READ scope (it may read
production source in entropy mode) but adds no write/exec capability — it still writes exactly
one artifact, never dispatches, never edits an upstream doc.
## Anti-patterns
- **Do not** use for a single task's pipeline-health audit — that's `/harness-supervise`.
- **Do not** auto-execute a finding the user did not explicitly authorize.
- **Do not** restate the EP classification grammar or the artifact schema here — point at
`references/entropy-scan.md`.From Alan-IFT/harness-kit, MIT.
More from Alan-IFT/harness-kit
- 0.524score
harness-verify
Alan-IFT
Run the project's total verification (.harness/scripts/verify_all).
SkillBFreshness: BClaude Code +9 - 0.524score
harness-language
Alan-IFT
Set, switch (English <-> Chinese), or refresh a harness project's output-language policy.
SkillBFreshness: BClaude Code - 0.524score
harness-stream
Alan-IFT
Streaming / living-pool mode.
SkillBFreshness: BClaude Code - 0.524score
harness-upgrade
Alan-IFT
Upgrade an already-initialized but stale harness project to the current plugin layout, non-destructively and idempotently, with a dry-run preview, then prove…
SkillBFreshness: BClaude Code - 0.524score
harness-plan
Alan-IFT
Design-only mode of the Harness pipeline — runs Requirement Analyst → Solution Architect → Gate Reviewer and stops.
SkillBFreshness: BClaude Code - 0.524score
harness
Alan-IFT
Full 7-stage Harness pipeline.
SkillBFreshness: BClaude Code - 0.524score
harness-batch
Alan-IFT
Run a fixed list of tasks (T-01...T-NN) through the 7-stage pipeline in sequence, one isolated context per task, stopping only on strong signals.
SkillBFreshness: BClaude Code - 0.524score
harness-decision-mode
Alan-IFT
Switch or set a harness project's decision / escalation MODE — Mode 1 (human decides every judgment call), Mode 2 (the AI decides per the PRESET rubric…
SkillBFreshness: BClaude Code - 0.524score
harness-explore
Alan-IFT
Research / feasibility mode.
SkillBFreshness: BClaude Code - 0.524score
harness-goal
Alan-IFT
Open-ended goal mode.
SkillBFreshness: BClaude Code - 0.524score
harness-grill
Alan-IFT
Interview the user ONE question at a time to pin down what they actually want BEFORE any pipeline runs, giving a recommended answer per question and…
SkillBFreshness: BClaude Code - 0.524score
harness-intervene
Alan-IFT
Drop a redirect / pause / note / add-task signal into a running 7-stage Harness pipeline (or a /harness-stream pool).
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 8, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Alan-IFT/harness-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Alan-IFT
- 0.524score
harness-plan
Alan-IFT
Design-only mode of the Harness pipeline — runs Requirement Analyst → Solution Architect → Gate Reviewer and stops.
SkillBFreshness: BClaude Code - 0.524score
harness
Alan-IFT
Full 7-stage Harness pipeline.
SkillBFreshness: BClaude Code - 0.524score
harness-batch
Alan-IFT
Run a fixed list of tasks (T-01...T-NN) through the 7-stage pipeline in sequence, one isolated context per task, stopping only on strong signals.
SkillBFreshness: BClaude Code - 0.524score
harness-decision-mode
Alan-IFT
Switch or set a harness project's decision / escalation MODE — Mode 1 (human decides every judgment call), Mode 2 (the AI decides per the PRESET rubric…
SkillBFreshness: BClaude Code - 0.524score
harness-explore
Alan-IFT
Research / feasibility mode.
SkillBFreshness: BClaude Code - 0.524score
harness-goal
Alan-IFT
Open-ended goal mode.
SkillBFreshness: BClaude Code
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get harness-deflate running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
harness-deflate skill. Agent Mart. https://agentmart.dev/skills/alan-ift-harness-deflate (last updated 2026-10-24)