lock-project-stack
Skill23 starsChanged 9 months agoApache-2.0View on GitHub
Detect a project's manifest (pyproject.toml / package.json / go.mod / Cargo.toml), pin its library set into wet's Cabinets project_context, then route subsequent docs queries to the locked versions automatically.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- n24q02m/wetword for word, first seen Feb 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- n24q02m/wet★ 23100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- compareSkill
- fact-checkSkill
- research-topicSkill
- scrape-batchSkill
- wetSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
If the user gave an absolute path, use it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
lock-project-stack
Bind a project to its declared dependency versions so every
search(action="docs_query") call from inside that project surfaces
docs for the exact versions you pinned, instead of "latest". Mirrors
the Cabinets workflow from spec section 4.3.
Steps
- Resolve the project root:
- If the user gave an absolute path, use it.
- Otherwise infer the root from the current workspace context
(e.g.
git rev-parse --show-topleveloutput). - Confirm at least one supported manifest exists:
pyproject.toml,package.json,go.mod, orCargo.toml.
- Lock the project:
- Call
search(action="docs_lock_project", project_path=<abs_path>). - The response includes
totaldetected libraries +indexedcount (how many already have docs in Tier 1 or Tier 2). Surface both numbers to the user so they know how much coverage they have today.
- Call
- Trigger Tier 2 ingestion for missing libraries (optional):
- Iterate the
locked_librarieslist; for entries withindexed == false, callsearch(action="docs_query", library=<name>, project_path=<abs_path>, query="<library> overview")once. The first call kicks off background Tier 2 ingestion; subsequent calls return real chunks.
- Iterate the
- Verify lock reuse:
- Re-call
search(action="docs_query", library=<name>, project_path=<abs_path>, query=...)WITHOUT specifyingversion. The response should include a non-nulllock_pinfield matching the version from the manifest, confirming Cabinets is honoring the pin.
- Re-call
- Surface the pin to the user:
- Summarize "Locked N libraries against versions X.Y.Z (M already indexed, K queued for Tier 2 ingestion)."
Best practices
- Re-run after every dependency bump so the lock stays in sync with what is actually installed.
- For monorepos, lock each workspace project separately — wet keys
on absolute path so
apps/webandapps/apiget distinct locks. - The lock is a hint, not a hard constraint — callers can always
override the version by passing it explicitly to
docs_query.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

