maintain
Skill2 starsChanged 8 months agoMITView on GitHub
Internal dynos-work skill. Autonomous maintenance worker. Scans the repo for technical debt, security anti-patterns, and architectural drift; on a finding it creates a repair branch, implements the fix, verifies with audits/tests, and opens a Pull Request. Runs only when the user explicitly types /dynos-work:maintain; never auto-triggered from conversation.
- Commits and pushes
20 other projects use a version of this.
Adopted by
Most recently taken up by
- inoio/agents-sandboxtheir own version, first seen Nov 8, 2026
- srinator22/New-Projecttheir own version, first seen Nov 8, 2026
- devantler-tech/ksailtheir own version, first seen Nov 7, 2026
- jamesm-dev/tateru.devtheir own version, first seen Nov 1, 2026
- exmergo/dextheir own version, first seen Oct 31, 2026
- constant-itis/mycelium-memorytheir own version, first seen Oct 20, 2026
Used with
Projects with it also use ship and release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- garrytan/gbrain★ 32ksame name
- slopus/happy★ 25ksame name
- PhilipK/BoilR★ 1.9ksame name
- GlassHaven/Haven★ 1.4ksame name
- GlassOnTin/Haven★ 1.4ksame name
- iovisor/ubpf★ 996same name
- everruns/bashkit★ 325same name
- devantler-tech/ksail★ 164same name
- exmergo/dex★ 116same name
- inoio/agents-sandbox★ 84same name
10 more not listed
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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auditSkill
- calibrationSkill
- dashboardSkill
- dry-runSkill
- executeSkill
- execution/backend-executorSkill
- execution/data-executorSkill
- execution/db-executorSkill
- execution/infra-executorSkill
- execution/integration-executorSkill
- execution/ml-executorSkill
- execution/observability-executorSkill
- execution/refactor-executorSkill
- execution/release-executorSkill
- execution/security-executorSkill
- executionSkill
- execution/testing-executorSkill
- execution/ui-executorSkill
- globalSkill
- initSkill
- investigateSkill
- listSkill
- localSkill
- memorySkill
- planSkill
- registerSkill
- repairSkill
- residualSkill
- resumeSkill
- startSkill
- statusSkill
- trajectorySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 18 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 13
Do not open a PR for a shallow fix, a guessed fix, or a fix that was not independently re-checked.
- Distinctive: line 14
If a recurring debt cluster is found, name the mechanism that keeps recreating it instead of spraying point fixes.
- Distinctive: line 20
Every 24 hours (or when invoked), the system performs a Background Meta-Audit:
- Distinctive: line 37
If a finding meets the threshold, the system starts an Auto-Task:
- Very specific: line 38
Branching: Create a branch dynos/auto-fix-{finding-id}.
- Distinctive: line 39
Implementation: Use a specialized Refactor Executor to implement the fix based on the current "Gold Standard" patterns.
- Distinctive: line 41
Run the full test suite.
- Very specific: line 43
Failure Recovery: If audits/tests fail, discard the branch and log the failure to .dynos/maintenance-log.json.
- Distinctive: line 47
If the fix passes ALL audits and tests:
- Distinctive: line 60
If the Meta-Auditor identifies a "Debt Cluster" (a module with > 20% of the project's historical findings):
- Distinctive: line 62
Strategic Refactor Design: Instead of fixing individual bugs, the maintainer spawns a Lead Architect (Opus) to design a clean-slate …
- Distinctive: line 66
The Strategic PR: If the new version is significantly cleaner/safer, open an Architectural Proposal PR.
- Distinctive: line 75
Auto-Assignment: If a bug is within the maintainer's domain (Backend/Infra), it autonomously triggers a Task Start.
- Distinctive: line 82
Eligibility: Only "Technical Debt Refactors" (discovered via meta-audit) that touch < 5 files.
- Distinctive: line 84
Must pass all Unit and Integration tests.
- Distinctive: line 85
Must achieve a 1.0 Quality Score and 1.0 Security Score from the Opus Ensemble auditors.
- Distinctive: line 86
The Final Action: If the above are met, the maintainer merges the branch directly into main and sends a notification.
- Distinctive: line 101
Winner-Take-All: Never present a refactor proposal unless a Simulation Benchmark has been completed for at least two alternate branches.
- Distinctive: line 102
ROI-First: If a refactor's token-cost is > 50% of the anticipated maintenance savings over a 12-month horizon (estimated), abort the …
- Distinctive: line 103
Safe-Merging: Never auto-merge a "Tournament Winner" unless the human operator has explicitly verified the architectural philosophy (via …
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
dynos-work: Maintain (The Autonomous Backend)
Maintains the long-term health of the repository by proactively identifying and resolving issues before they become blocking findings.
Ruthlessness Standard
- Maintenance work must remove real risk, not generate cosmetic churn.
- Do not open a PR for a shallow fix, a guessed fix, or a fix that was not independently re-checked.
- If a recurring debt cluster is found, name the mechanism that keeps recreating it instead of spraying point fixes.
What you do
Step 1 -- Autonomous Debt Polling (The Trigger)
Every 24 hours (or when invoked), the system performs a Background Meta-Audit:
- Scan the codebase using the Proactive Meta-Auditor.
- Focus on:
- Dependency vulnerabilities.
- Architectural drift (deviations from current "Gold Standards").
- Recurring finding categories from the last 10 tasks.
- Code-smell clusters identified by complexity metrics.
Step 2 -- Severity Threshold Gate
For each discovered finding, determine if it meets the Autonomous Fix Threshold:
- Critical (e.g. Auth/Infra): Immediately proceed to Step 3.
- High (e.g. Security/Performance): Proceed to Step 3.
- Medium/Low: Append to
.dynos/proactive-findings.jsonand wait for the next manual task.
Step 3 -- The Autonomous Fix Pipeline
If a finding meets the threshold, the system starts an Auto-Task:
- Branching: Create a branch
dynos/auto-fix-{finding-id}. - Implementation: Use a specialized Refactor Executor to implement the fix based on the current "Gold Standard" patterns.
- Verification:
- Run the full test suite.
- Spawn a Security Auditor (Opus) to verify the fix.
- Failure Recovery: If audits/tests fail, discard the branch and log the failure to
.dynos/maintenance-log.json. Do not retry more than once.
Step 4 -- The Hand-off (Pull Request)
If the fix passes ALL audits and tests:
- PR Creation: Open a Pull Request (via
gh pr createor similar). - Description: Automatically generate a detailed PR description including:
- The original finding from the meta-audit.
- The "Gold Standard" pattern it followed.
- The audit-pass certificate.
- Notify User: Print:
{timestamp} [MAINTAIN] Autonomous PR created: {pr-url} -- fixed {finding-description}
Step 5 -- Architectural Strategy Proposals (The Strategist)
If the Meta-Auditor identifies a "Debt Cluster" (a module with > 20% of the project's historical findings):
- Strategic Refactor Design: Instead of fixing individual bugs, the maintainer spawns a Lead Architect (Opus) to design a clean-slate refactor of the entire module.
- Simulation Sandbox Test:
- Implement the refactored version in the Autonomous Simulation Sandbox.
- Compare the Quality Score and Audit Pass rate of the old logic vs the new proposed logic.
- The Strategic PR: If the new version is significantly cleaner/safer, open an Architectural Proposal PR.
- Report the "Architecture Score" improvement.
- Include a visual breakdown of the new module's hierarchy.
Step 6 -- Autonomous Task Discovery (The Manager)
In addition to technical debt, the maintainer now polls your Issue Trackers (e.g. gh issue list or Jira API):
- Bug Detection: Identify new issues labeled
priority:highorbug. - Auto-Assignment: If a bug is within the maintainer's domain (Backend/Infra), it autonomously triggers a Task Start.
- Draft PR: It builds the fix and opens a Draft PR with the title
[AUTO] Fix for Issue #{id}.
Step 7 -- The Zero-Input Auto-Merge Policy
To achieve a 100% "Set-and-Forget" backend, the maintainer can Self-Merge specific refactors:
- Eligibility: Only "Technical Debt Refactors" (discovered via meta-audit) that touch < 5 files.
- The 1.0 Quality Bar:
- Must pass all Unit and Integration tests.
- Must achieve a 1.0 Quality Score and 1.0 Security Score from the Opus Ensemble auditors.
- The Final Action: If the above are met, the maintainer merges the branch directly into
mainand sends a notification.
Step 8 -- The Architectural Tournament (Recursive Benchmarking)
To ensure the "Gold Standard" is perpetually optimized, the maintainer performs a Search-Space Exploration:
- Variant Generation: For a high-debt module, the maintainer drafts 3 Architectural Branches in the sandbox (e.g.
Variant A: Functional,Variant B: OOP,Variant C: Utility-driven). - Playout Simulations:
- Performance: instruction count, cyclomatic complexity check.
- ROI: token-cost of the implementation vs the potential debt reduction.
- Quality: composite finding-density score.
- Winner Selection: The variant with the highest ROI/Efficiency Score is selected as the "Candidate for Push".
- Final Proposal: Present the user with the "Winner"'s data and the two rejected alternatives for comparison.
Hard Rules
- Winner-Take-All: Never present a refactor proposal unless a Simulation Benchmark has been completed for at least two alternate branches.
- ROI-First: If a refactor's token-cost is > 50% of the anticipated maintenance savings over a 12-month horizon (estimated), abort the tournament ($ \mathcal{L} = \frac{\Delta \text{Debt}}{\text{Cost}} $).
- Safe-Merging: Never auto-merge a "Tournament Winner" unless the human operator has explicitly verified the architectural philosophy (via human insight gate).
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.

