agent-deployment
Skill4 starsChanged 4 months agoMITView on GitHub
Ships an agent to production — packaging, config and secrets, staged rollout, and the rollback plan — for a system whose failures are usually silent rather than loud. Use this whenever the user is deploying an agent or LLM feature, planning a rollout or canary, moving an agent from prototype to production, or asking how to release a prompt or model change safely. For monitoring it once live, use agent-observability.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shyamsridhar123/oneshottheir own version, first seen Feb 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- shyamsridhar123/oneshot★ 4same name
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 repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-designSkill
- agent-evaluationSkill
- agent-hardeningSkill
- agent-implementationSkill
- agent-observabilitySkill
- agent-scopingSkill
- api-designSkill
- code-templatingSkill
- dependency-upgradeSkill
- error-handlingSkill
- feature-implementationSkill
- project-scaffoldingSkill
- refactoringSkill
- data-analysisSkill
- data-migrationSkill
- data-modelingSkill
- sql-queriesSkill
- ci-pipelinesSkill
- containerizationSkill
- deployment-strategiesSkill
- infrastructure-as-codeSkill
- debuggingSkill
- issue-investigationSkill
- issue-triageSkill
- log-analysisSkill
- network-troubleshootingSkill
- performance-profilingSkill
- api-documentationSkill
- commit-messagesSkill
- diagrammingSkill
- markdown-docsSkill
- plain-languageSkill
- pr-descriptionsSkill
- release-notesSkill
- browser-testingSkill
- integration-testingSkill
- load-testingSkill
- test-dataSkill
- test-driven-developmentSkill
- unit-testingSkill
- deep-researchSkill
- feed-digestSkill
- summarizationSkill
- accessibility-reviewSkill
- code-analysisSkill
- code-lintingSkill
- code-reviewSkill
- auth-designSkill
- dependency-auditSkill
- secrets-managementSkill
- security-analysisSkill
- threat-modelingSkill
- capacity-planningSkill
- disaster-recoverySkill
- incident-responseSkill
- monitoring-setupSkill
- root-cause-analysisSkill
- runbooksSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 28
If you cannot say which prompt produced a given output, you cannot debug production and you cannot roll back with confidence.
- Distinctive: line 39
Every knob that might need changing at 3am — turn limits, spend caps, timeouts, the kill switch — must be changeable without a deploy.
- Distinctive: line 46
Never all at once. The staircase:
- Distinctive: line 68
Keep the previous version warm enough to switch back in seconds.
- Distinctive: line 88
Before you start, you should be able to answer:
- Distinctive: line 95
Done when: all four have named answers.
≈ “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
Phase 6: Deploy
Input: an evaluated, hardened agent. Output: a running system, and a rollback you have tested.
Agent deployments differ from ordinary ones in a way that matters: failure is usually silent. A broken web service returns 500s and pages someone. A degraded agent keeps returning fluent, confident, wrong answers at exactly the normal rate, and nothing in your infrastructure notices.
That single fact drives everything below. You cannot rely on the system telling you it broke.
1. Version the things that change behaviour
The prompt, the model ID, and the tool definitions are behaviour. Treat them as code:
- Prompts in the repo, versioned and reviewed. Not in a database someone edits live, not in a dashboard — you need diffs and you need blame.
- Model IDs pinned explicitly, never an alias that silently moves. An alias that upgrades underneath you is an unannounced deploy of a different system.
- A single deployment identity: one version string covering code, prompt, model, and tool schema together. Any answer in production must be traceable to it.
If you cannot say which prompt produced a given output, you cannot debug production and you cannot roll back with confidence.
Done when: one version string identifies the whole behavioural configuration.
2. Get config and secrets right
- Credentials from the environment or a secret manager. Never in the prompt, never in the repo, never in a fixture.
- Separate credentials per environment, with the production one scoped per
agent-hardening. A staging agent with production credentials is a production agent. - Every knob that might need changing at 3am — turn limits, spend caps, timeouts, the kill switch — must be changeable without a deploy.
Done when: you could disable the agent in under a minute without shipping code.
3. Roll out in stages, gated on evidence
Never all at once. The staircase:
- Shadow — the agent runs on real traffic, its output is logged but not served. The single highest-value stage: real inputs, zero blast radius. Compare against what actually happened.
- Internal — your team uses it for real work. They will find what evals did not.
- Canary — a small percentage of real users, or one low-stakes segment.
- Progressive — widen, with a defined hold at each step.
Define the promotion criteria and the abort criteria before starting, in numbers. "Looks good" is how a bad rollout continues. Abort on a regression against the eval baseline, a spike in refusals or fallbacks, a cost-per-request step change, or any irreversible action firing at an unexpected rate.
Done when: each stage has a numeric promote-or-abort rule written down in advance.
4. Make rollback trivial and test it
Rolling back a prompt should be as easy as rolling back code, because you will do it more often.
- Test the rollback path before the first real rollout, not during an incident.
- Know what rollback does not undo: actions already taken, data already written, messages
already sent. Those need the reversal plan from
agent-hardening. - Keep the previous version warm enough to switch back in seconds.
Done when: you have executed a rollback in a real environment and timed it.
5. Ship the fallback with the feature
Agents fail: the API is down, rate-limited, slow, or the output does not validate. Decide the degraded behaviour before launch:
- Fall back to the previous system, if one exists, usually the best answer
- Fall back to a smaller model, accepting lower quality over no answer
- Fail visibly: tell the user it is unavailable
The one unacceptable option is failing invisibly: returning something worse without saying so. Users calibrate their trust on what they see, and a silent downgrade destroys that calibration.
Done when: the degraded path is implemented and tested by forcing the failure.
6. Have the release-day answers ready
Before you start, you should be able to answer:
- What does normal look like, in numbers? (You need this from shadow, before day one.)
- Who is watching, for how long, and what are they watching?
- What is the abort trigger, and who can pull it without asking permission?
- Where do user reports arrive, and who reads them?
Done when: all four have named answers.
Report
State the version deployed, the rollout stage and its criteria, the rollback procedure and when
you last tested it, the fallback behaviour, and what you are watching. Then hand to
agent-observability — deployment is not finished when it is live, it is finished when someone
would notice it degrading.
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.

