Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Reuse Harvesting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ugbot-reuse-harvesting)
---
name: reuse-harvesting
description: Use when reviewing recent engineering work or scratch artifacts for reuse, curating a harvest ledger, or preparing a dedicated Reuse Harvester agent.
---
# Reuse harvesting
Save capabilities with callers, contracts and evidence. Read the working
agreement and existing harvest index/ledger before discovery. Preserve other
engineers' active files and coordinate shared validation with their owner.
1. Resume pending candidates first, including entries outside the successful-run
cutoff. Then inspect recent changes and explicitly selected scratch roots.
Limit a run to 200 candidate files and 8 MiB of text; save the next cursor.
Identity-only inventory is pending discovery, not reviewed material.
2. Search existing project tools and this library before extracting code. Use
`devtools_mcp.evidence.artifacts` for file bindings and atomic records. Read
discovered commands as data; review code before executing it.
3. Parameterize paths and declare input/output, dependencies, errors, byte/count
limits and platform requirements. Use uv for every Python invocation.
Standalone scripts need PEP 723 metadata. Real concurrent I/O needs bounded
fan-out, deadlines, cancellation and child cleanup. Small dependent file
operations can stay sequential.
4. Execute focused positive and negative checks in disposable scratch. Include
working-directory independence, spaces, missing configuration, malformed
input and partial failure. Record actual OS, Python and tool versions.
Preserve failed evidence; keep unsupported platforms explicit.
5. Save project tools in `scripts/harvested/<capability>/`, notes and the ledger
in `docs/harvest/`. Publish general skills/agents through **skills-sync**:
authored source plus the generated plugin mirror. Never edit catalog copies.
For every candidate record source path/hash, purpose, destination, exact checks,
dependency/platform contract and `adopt`, `duplicate`, `reject` or
`needs-validation` with a reason. `adopt` means reviewed and checked for the
declared boundary. A missing qualification remains `needs-validation`.
Recheck source identities before publishing; retain originals and pending work.
Exclude secrets, runtime databases, private datasets and bulk build outputs.
The successful-run cutoff records a completed invocation; the pending cursor
records unfinished discovery. Advance neither by claiming the other is complete.
Return saved assets, validation, limitations and the next cursor. A successful
scan with no useful candidate should record that result explicitly.
## Bundled assets
- [Artifact contract caller](scripts/check_artifacts.py): checks existing helpers
from a trusted checkout without loading the MCP package. See
[usage and support](references/artifact-contract.md).
- [Qualification guide](references/qualification.md): stable source/binary
identities and discriminating negative controls.
- [Codex role](agents/reuse-harvester.toml): native TOML for an explicitly
configured runner. The plugin's `reuse-harvester.md` is a Claude agent.
`sync.py` copies Markdown agents; it does not register or convert Codex roles.
This skill installs no scheduler and changes no global configuration.