Install
$ agentstack add skill-xcaeser-work-skill-work-clean ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Work / 8. Clean
Find defensible simplifications without editing. The Sol xhigh analyst remains read-only; the parent owns every cleanup decision and any later execution route.
Preserve reliability, restraint, user data, meaningful tests, and the simplest complete implementation. Remove obsolete paths instead of preserving compatibility, and require evidence for every deletion or abstraction change.
Fixed route
- If the exact subagent model, effort, or goal tools are unavailable, return
blockedwith the missing capability. Do not substitute a model or perform the cleanup analysis in the parent. - Launch exactly one
gpt-5.6-solsubagent atxhigheffort withfork_turns: none. - Give it a fun call sign, the exact task statement, exact scope, source of truth, behavior boundaries, package constraints, acceptance checks, and validation requirements.
- Require independent analysis and concrete evidence for every proposed deletion or shared component; do not accept a status report, speculative smell, or “routine” migration.
- Require it to call
create_goalwith the exact cleanup-analysis goal before inspection andupdate_goal completeonly after the required checks pass. - Let the analyst run until it returns the cleanup plan, 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 scope. Inspect only relevant paths, direct consumers, and evidence needed to prove each simplification; return the plan without process narration and stop when every candidate has a supported disposition.
- Report the successful launch as a compact table with
Agent,Working on,Goal,Ownership, andModel.
Analysis
- Prefer an explicit path, subsystem, feature, or diff; otherwise use the smallest scope clearly implied by the request.
- Inspect instructions, status, relevant diffs, consumers, registrations, generated outputs, existing tests, public APIs, and actual user flows.
- Identify dead code, needless indirection, duplicate behavior, speculative abstractions, and unclear boundaries.
- Keep helpers that communicate intent, isolate side effects, improve testing, or have genuine reuse. Simplify the consumer path; do not merely move complexity into a new wrapper or hide it behind a renamed abstraction.
- Consider packages in this order: standard library/platform, an existing project dependency, a mature and battle-tested external package, then focused local code. Check existing dependency documentation and types before reimplementing functionality or adding a package. Choose a package only when its reliability, maintenance, license, runtime fit, and reduced complexity earn the dependency cost; record chosen and rejected options with reasons.
- Challenge cleanup candidates against exact behavior, error paths, partial state, retries, interruption, permissions, upgrades, and recovery before recommending removal.
- Preserve meaningful tests and remove only tests that are demonstrably obsolete, tautological, framework-level, or detached from a real contract. Do not add coverage-only tests.
- Prefer durable architecture over a stopgap intended to be replaced later. Do not propose behavior, API, persistence, security, UX, test, or type weakening without explicit authorization.
Require every cleanup candidate to remove a real cost: a duplicate behavior, branch, dependency, concept, indirection, or unclear ownership boundary. Do not extract a shared component until multiple consumers share a stable behavior, not merely similar markup or coincidental syntax.
Handoff
Return a detailed, executor-agnostic cleanup plan:
## Work / 8. Clean
**Scope:**
**Goal:**
**Remove or simplify**
-
**Preserve**
-
**Evidence**
-
**Alternatives rejected**
-
### Cleanup map
| Step | File / symbol | Exact transformation | Cost removed | Invariant |
|---|---|---|---|---|
| 1 | | | | |
**Executor assignments:**
**Done when:**
**Does not count:**
**Packages considered:**
| Validation command or flow | Expected evidence | Proves |
|---|---|---|
| | | |
**Testing**
- **Behavior being protected:**
- **Why it matters:**
- **Test level:**
- **Exact observable assertion:**
- **Tests deliberately not added or removed:**
Assume the plan may be executed by a lower-capability model with no hidden context. Spell out exact files and symbols, ordered transformations, behavior to preserve, obsolete paths to remove, package decisions, validation commands, expected evidence, and choices the executor must not reinterpret. The parent verifies the plan before approving any execution route. A smaller diff is not automatically a better result: reject cleanups that only move complexity, weaken behavior, or preserve obsolete paths through a new wrapper. If the route is blocked, state the exact gap and require a materially new mechanism before another round. Do not launch an executor or edit files from this skill. For execution, 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
- Source: xcaeser/work-skill
- License: MIT
- Homepage: https://skills.sh/xcaeser/work-skill
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.