# Work Audit

> Evidence-first, read-only audits that always use one gpt-5.6-sol xhigh analyst and return a self-contained fix plan suitable for a lower-capability execution model. Use when the user asks to audit code, a diff, a branch, an artifact, or a runtime flow.

- **Type:** Skill
- **Install:** `agentstack add skill-xcaeser-work-skill-work-audit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [xcaeser](https://agentstack.voostack.com/s/xcaeser)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [xcaeser](https://github.com/xcaeser)
- **Source:** https://github.com/xcaeser/work-skill/tree/main/skills/work-audit
- **Website:** https://skills.sh/xcaeser/work-skill

## Install

```sh
agentstack add skill-xcaeser-work-skill-work-audit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Work / 7. Audit

Audit without changing source files. Keep the parent orchestrator accountable for scope, verification, decisions, and any later edits.

Apply reliability, restraint, simplicity, meaningful testing, user-state safety,
and proof over status. Never preserve backwards compatibility; update current
consumers and remove obsolete paths. Treat concrete evidence as the handoff requirement.

## Fixed route

- If the exact subagent model, effort, or goal tools are unavailable, return `blocked` with the missing capability. Do not substitute a model or perform the audit in the parent.
- Launch exactly one `gpt-5.6-sol` subagent at `xhigh` effort with `fork_turns: none`.
- Give it a fun call sign and a complete read-only task packet: exact task statement, ownership, source of truth, risk axes, exclusions, acceptance checks, and validation requirements.
- Keep early hypotheses independent and require concrete locations, reproductions, traces, or commands; reject status reports and unsupported “routine” conclusions.
- Require it to call `create_goal` with the exact audit goal before inspection and `update_goal complete` only after the required checks pass.
- Let the analyst run until it returns findings, a real blocker, or a user-input request. Do not cancel it because a polling window or arbitrary wall-clock interval elapsed; a wait timeout is not a failure.
- The analyst must not edit, commit, deploy, spawn, or delegate.
- Scale depth to the target and risk. Inspect only relevant paths, direct consumers, and evidence needed to verify findings; return the audit without process narration and stop when every material risk axis has a supported disposition.
- Report the successful launch as a compact table with `Agent`, `Working on`, `Goal`, `Ownership`, and `Model`.

## Work / 7. Audit

1. Resolve the target: working tree, commit, branch comparison, artifact, runtime flow, or named files.
2. Identify the source of truth and material risk axes: correctness, regressions, security, data loss, accessibility, performance, or missing validation.
3. Before recommending tests, inspect the implementation, existing tests, public APIs, and actual user flows. Add test findings only for observed contracts, real regressions, or meaningful boundaries.
4. Inspect independently and collect concrete evidence, exact locations, and the smallest credible reproduction.
5. Challenge the happy path and the exact contract at the boundaries the task can affect: malformed input, offline or hanging work, retries, partial state, interruption, permissions, upgrades, and recovery.
6. Check the architecture against the simplest complete implementation, modular concerns, existing dependencies and their documentation/types, and long-term decisions rather than stopgaps.
7. Reject style preferences, unsupported suspicion, findings without material impact, and reductions that merely restate the original problem.
8. Verify the handoff in the parent; an analyst summary is not proof. If the route is blocked, record the exact gap and do not keep repeating it without a materially new mechanism.

Calibrate severity by user impact and reach: `critical` for imminent data loss,
security compromise, or systemic outage; `high` for a broken core contract;
`medium` for a bounded but material failure; `low` only for a real, actionable
issue worth fixing. Do not use severity to make a thin audit look substantial.

## Handoff

Return findings ordered by severity, followed by a detailed, executor-agnostic implementation plan:

```markdown
## Audit

**Scope:** 
**Source of truth:** 

### Findings
- **[severity] ** — impact; evidence; exact location; smallest credible reproduction.

### Rejected candidates
- 

### Evidence and gaps
**Evidence:** 
**Remaining gap:** 

### Fix plan
**Goal:** 
**Invariants and non-goals:** 

| Step | File / symbol | Exact change | Reason / invariant |
|---|---|---|---|
| 1 |  |  |  |

**Ownership:** 
**Done when:** 
**Does not count:** 
**Packages considered:** 

| Validation command or flow | Expected evidence | Proves |
|---|---|---|
|  |  |  |

### Testing plan
**Behavior being protected:** 
**Why it matters:** 
**Test level:** 
**Exact observable assertion:** 
**Tests deliberately not added:** 
```

Assume the plan may be executed by a lower-capability model with no hidden context. Specify exact files and symbols, ordered edits, invariants, failure paths, tests, validation commands, expected evidence, and decisions the executor must not reopen. If no findings survive verification, say so directly and list the scope, checks, and remaining gaps. Do not call a partial result complete. Do not launch an executor or edit files from this skill. If the user wants implementation, hand the verified plan to `work`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [xcaeser](https://github.com/xcaeser)
- **Source:** [xcaeser/work-skill](https://github.com/xcaeser/work-skill)
- **License:** MIT
- **Homepage:** https://skills.sh/xcaeser/work-skill

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-xcaeser-work-skill-work-audit
- Seller: https://agentstack.voostack.com/s/xcaeser
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
