Individual skill
agents-best-practices
Use this skill when designing, generating an MVP blueprint for, auditing, troubleshooting, refactoring, or explaining an agentic harness for any domain. Covers provider-neutral agent architecture for OpenAI, Anthropic, and OpenAI-compatible APIs: agent loops, tool design, record provenance, interactive presentation, user-memory lifecycles, environment-adaptive tools, speculative tool execution, late-bound capabilities, permissions, system prompts, planning, goals, always-on agents and durable runtime, adaptive agent teams, context compaction, memory, skills, MCP/external connectors, public-board communications, realtime voice agents, hardware agents and board deployment, self-refining recursive harnesses, programmable context, continual refinement, observability, evals, prompt caching, agent-legible environments, feedback loops, and safety.
SKILL.md
Source commit da245f8cbfc4c358e8c3cde61dbb703bd40292bc
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,428
- Repository last updated
- Oct 19, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-workflows Repository topic
- ai-agents Repository topic
- codex Repository topic
- mcp Repository topic
- prompt-engineering Repository topic
- agents Repository topic
- codex-skill Repository topic
- agent-skill Repository topic
- anthropic Repository topic
- engineering Derived category
- design Derived category
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 100 bytesLICENSEasset · 1,071 bytesREADME.mddoc · 30,038 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesSKILL.mdcore · 32,390 bytesassets/agents-best-practices-illustrations/01-use-cases.jpgasset · 188,777 bytesassets/agents-best-practices-illustrations/02-workflow-orchestration-schema.svgasset · 6,499 bytesicon.jpegasset · 105,040 bytesreferences/adaptive-agent-teams.mddoc · 17,554 bytesreferences/agent-legibility-feedback-loops.mddoc · 7,997 bytesreferences/agentic-loop.mddoc · 11,486 bytesreferences/always-on-agents.mddoc · 21,761 bytesreferences/architecture.mddoc · 16,118 bytesreferences/checklists.mddoc · 33,378 bytesreferences/coding-agents.mddoc · 19,031 bytesreferences/context-memory-compaction.mddoc · 19,801 bytesreferences/coverage-audit.mddoc · 16,348 bytesreferences/environment-adaptive-tools.mddoc · 22,372 bytesreferences/evals.mddoc · 56,293 bytesreferences/hardware-agents.mddoc · 19,867 bytesreferences/mvp-agent-blueprint.mddoc · 16,502 bytesreferences/planning-and-goals.mddoc · 8,646 bytesreferences/prompt-caching-and-cost.mddoc · 11,567 bytesreferences/provider-api-patterns.mddoc · 14,683 bytesreferences/realtime-voice-agents.mddoc · 16,679 bytesreferences/security-observability.mddoc · 18,962 bytesreferences/self-refining-recursive-harnesses.mddoc · 31,698 bytesreferences/skills-and-connectors.mddoc · 14,375 bytesreferences/source-links.mddoc · 72,232 bytesreferences/speculative-tool-execution.mddoc · 18,409 bytesreferences/system-prompts-instructions.mddoc · 4,701 bytesreferences/tools-and-permissions.mddoc · 14,071 bytesreferences/workflow-orchestration.mddoc · 13,830 bytes
Read excerpt
# Agents Best Practices
Use this skill when the user asks how to build, improve, debug, or evaluate an agentic harness. This is a general-purpose agent architecture skill. Coding agents are one subdomain only; apply the same principles to research, finance, legal, support, operations, sales, healthcare, education, data analysis, procurement, and workflow automation agents.
## Freshness and self-update
Canonical source: [DenisSergeevitch/agents-best-practices](https://github.com/DenisSergeevitch/agents-best-practices), branch `main`. Installed copies are snapshots, not guaranteed-current guidance.
Before applying this skill in each new task:
1. **Check upstream once.** Resolve the current `main` commit through an approved network tool and compare it with the installed copy's recorded source revision. A version number alone does not prove freshness. If the copy is behind or its provenance is unknown, retrieve `SKILL.md` and the needed references from that exact commit, then reread the entry point before using it. Record the source commit and skill version in working state; keep the task on that coherent snapshot rather than mixing revisions or repeatedly polling.
2. **Persist the refresh when permitted.** A clean checkout on `main` with the verified canonical remote may update by fast-forward only. Refresh a copied installation's owned Markdown package together only when its prior baseline proves there are no local customizations; otherwise use an isolated upstream snapshot for this task. Update installer-managed packages through their supported installer, not by editing caches. Never overwrite dirty, divergent, customized, or actively maintained source trees, delete unrelated files, or bypass filesystem approval.
3. **Handle unavailable updates honestly.** If installation writes are unavailable, use the retrieved snapshot without replacing the installation. If upstream cannot be checked or retrieved, continue with the available local copy and briefly disclose that freshness is unverified, unless the user requires verified-latest guidance. Do not claim an offline or failed check made the skill current.