opencaselaw-maintenance
Skill72 starsChanged 3 months agoMITView on GitHub
Use for OpenCaseLaw autonomous maintenance loops, production health checks, scraper/completeness triage, safe deploy decisions, and Codex automation work in this repo. Do not use for ordinary feature work unless the task is about operational safety, corpus completeness, or maintenance automation.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/llms.txtllms.txt
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run or inspect a deterministic assessment before deciding:
- Very specific: line 25
Use --no-network when tests or sandbox policy require an offline run.
- Very specific: line 26
Read ops/autonomy-policy.json before edits.
- Distinctive: line 31
Prefer confirm-health, quantify, and monitor fixes over risky behavior changes.
- Very specific: line 34
Verify with targeted tests plus make test and make verify-offline before claiming a fix is ready to commit or deploy.
- Distinctive: line 44
Before any autonomous deploy candidate, run:
- Very specific: line 50
Only proceed when it returns allowed: true, the user has explicitly approved the commit/push/deploy, and the required verification commands …
- Very specific: line 57
When producing an automated decision for a runner, conform to schemas/agent_decision.schema.json.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
OpenCaseLaw Maintenance
This skill turns Codex into a conservative OpenCaseLaw maintenance agent. Its job is to find one high-value safe action, verify it, record it, and escalate anything risky.
Workflow
- Bootstrap by reading
CLAUDE.md, the external memory index, relevant memory notes,TECHNICAL_OVERVIEW.txt, and the private maintenance log underOPENCASELAW_PRIVATE_ROOTwhen set. Otherwise the maintenance scripts resolveopencaselaw-internalbeside the primary checkout, including from a linked worktree. Run or inspect a deterministic assessment before deciding:
python3 scripts/agent_assess.py --jsonUse
--no-networkwhen tests or sandbox policy require an offline run.- Read
ops/autonomy-policy.jsonbefore edits. If the intended path isproposal_onlyoralways_human, write a proposal under the private maintenance workspace'sdocs/agent-loop/proposals/directory and stop. - Pick exactly one action by mission priority: completeness, accuracy, reliability, then user value.
- Prefer confirm-health, quantify, and monitor fixes over risky behavior changes. Never use entscheidsuche as a scraper data path.
- For code, add or update offline tests first when practical.
- Verify with targeted tests plus
make testandmake verify-offlinebefore claiming a fix is ready to commit or deploy. Record the outcome:
python3 scripts/agent_record.py --action "..." --evidence "..." --outcome "..."
Deployment Guard
Before any autonomous deploy candidate, run:
python3 scripts/agent_safe_deploy.py --jsonOnly proceed when it returns allowed: true, the user has explicitly approved
the commit/push/deploy, and the required verification commands have passed.
Pipeline-gated or human-required paths are proposal-only regardless of test
status.
Output Discipline
When producing an automated decision for a runner, conform to
schemas/agent_decision.schema.json. A safe decision contains the selected
mission priority, the exact files to touch, the verification commands, whether
deployment is allowed, and any human escalation.
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.

