[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JYPZASGYJB88GJS7Y526XG":3,"skill-same:01M6JYPZASGYJB88GJS7Y526XG":168},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6JYPZASGYJB88GJS7Y526XG","agents-best-practices",null,"Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue from a measured gap to verified completion. Covers provider-neutral loops, tools, permissions, environment adaptation, planning, durable workflow state, context, skills, observability, evals, and safety for OpenAI, Anthropic, and compatible APIs. Not for implementing an ordinary app feature or reviewing one concrete diff.","AnastasiyaW\u002Fcodex-claude-code-config","AnastasiyaW","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F92753226?v=4","01M6JYPD9X5RRF8G7AH91NYD3R","Anastasiia Butova","01M6JYPDFBGM5EV8G8BABQ3GDY",214,"MIT","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002FLICENSE-upstream","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"best practices","agents best practices","work","when","implementing","verified","loops","app","adaptation","domain","evals","context","agentic","refactoring","Safety","Tools","observability","harness","openai","permissions","workflow","2026-11-10 10:12:30",false,"---\nname: agents-best-practices\ndescription: \"Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue from a measured gap to verified completion. Covers provider-neutral loops, tools, permissions, environment adaptation, planning, durable workflow state, context, skills, observability, evals, and safety for OpenAI, Anthropic, and compatible APIs. Not for implementing an ordinary app feature or reviewing one concrete diff.\"\n---\n\n# Agents Best Practices\n\nUse 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.\n\n## Core stance\n\nAn agent harness is the control plane around a model. The model proposes actions; the harness validates, authorizes, executes, records, summarizes, and returns observations. Keep the loop simple and make the runtime rigorous.\n\nDefault architecture:\n\n```text\nuser\u002Ftask\n  -> instruction and context builder\n  -> model call\n  -> tool\u002Faction proposal\n  -> schema validation\n  -> permission decision\n  -> execution or approval pause\n  -> structured observation\n  -> context update\n  -> repeat within budget or finish\n```\n\n## Completion and reconciliation\n\nFor an action request, treat a discovered problem as a state transition, not a\nterminal report. Before calling the request complete, reconcile every required\nitem using the contract in [completion-reconciliation.md](references\u002Fcompletion-reconciliation.md).\nDiagnosis-only internal gaps re-enter owned work; final prose is never a\ncompletion signal.\n\n## When to activate this skill\n\nUse this skill for prompts involving any of these intents:\n\n- build an agent, agentic workflow, AI worker, autonomous assistant, or harness;\n- create a domain-specific MVP agent design, starter harness, implementation blueprint, or first production-safe version;\n- choose between OpenAI, Anthropic, OpenAI-compatible APIs, direct tool loops, hosted tools, or SDKs;\n- design tools, permissions, guardrails, approval flows, or sandboxing;\n- design an agent for a partially known or changing environment using capability discovery, safe probing, runtime binding, schema verification, or drift invalidation;\n- reduce code-mode or programmatic-tool latency through speculative execution, partial-program analysis, futures, exact claim semantics, or cancellation of unused work;\n- create planning mode, workflow orchestration, goal mode, todo tracking, or long-running task behavior;\n- add context compaction, memory, retrieval, scoped instructions, or prompt hierarchies;\n- design a recursive language model (RLM), programmable-context runtime, self-refining or continual harness, retained child agents, daemon-backed or scheduled agent, or executable skills;\n- attach Agent Skills, reusable workflows, MCP servers, external connectors, or tool search;\n- audit an existing agent for reliability, cost, prompt-cache hit rate, safety, latency, or observability;\n- create system prompts or developer instructions for a domain-specific agent;\n- make source-of-truth knowledge, validation signals, logs, metrics, or workflow state legible to an agent.\n\nDo not use this skill for ordinary single-turn writing, translation, or Q&A unless the user is asking about the design of an agent that will perform those tasks.\n\n## How to use this skill\n\nFirst, identify the user's design problem:\n\n1. **Domain**: what work the agent performs.\n2. **Autonomy level**: answer-only, draft-only, approval-gated action, or autonomous action within policy.\n3. **Risk level**: read-only, internal write, external communication, financial, legal, healthcare, security, destructive, or privileged.\n4. **State duration**: single turn, multi-turn session, resumable workflow, or long-running goal.\n5. **Tool surface**: internal APIs, hosted tools, MCP\u002Fexternal connectors, browser, sandbox, filesystem, database, communication, or computation.\n6. **Validation**: what proves the task is complete.\n\nThen load the most relevant reference files, not all files by default. If the user asks to make or build an agent for a domain, default to MVP Builder Mode.\n\n## MVP Builder Mode\n\nWhen the user asks to make, build, design, scaffold, or specify an agent for a domain, produce a concrete domain-specific MVP harness blueprint, not only advice. Use [mvp-agent-blueprint.md](references\u002Fmvp-agent-blueprint.md) as the primary reference and load other references as needed.\n\nDefault behavior:\n\n1. Infer a reasonable first version from the user's domain and stated constraints.\n2. State assumptions briefly instead of blocking on missing details.\n3. Design the smallest safe harness that can accomplish useful work.\n4. Include the core agentic loop, tool registry, permission matrix, context\u002Fmemory\u002Fcompaction, planning mode, goal-like loop criteria, skills\u002Fconnectors, prompt-cache\u002Fcost strategy, observability, evals, and launch path.\n5. Mark high-risk actions as draft-only or approval-gated by default.\n6. Keep the MVP to the smallest reliable single-loop harness unless the user explicitly asks for a broader architecture.\n\n## Environment-Adaptive Tool Mode\n\nUse this mode when the useful tool catalogue, schemas, versions, or implementations are late-bound rather than fully configured before the run. Read [environment-adaptive-tools.md](references\u002Fenvironment-adaptive-tools.md) together with the standard tool, connector, security, and eval references.\n\nRequire a small trusted bootstrap interface, host-owned capability ledger, provenance-labeled descriptors, bounded read-only or isolated probes, opaque scope-and-version bindings, call-time permission checks, and drift invalidation. Discovery, generated code, and inferred schemas must never grant authority. Keep this post-MVP unless adapting to changing environments is the product's primary job; even then, establish a fixed read-only baseline first.\n\n## Advanced Recursive and Continual Harness Mode\n\nUse this mode only when the user explicitly asks for programmable context, recursive execution, retained children, continual refinement, executable skills, or daemon\u002Fscheduled autonomy. Treat it as post-MVP: establish a measured single-loop baseline first, then read [self-refining-recursive-harnesses.md](references\u002Fself-refining-recursive-harnesses.md) together with the context, workflow, permission, security, and eval references.\n\nMake the context representation, recursive unit, mutable state, promotion scope, lifecycle, budgets, validation probes, and rollback path explicit. Keep base authority, permission enforcement, credentials, budgets, and evaluation policy outside the mutable surface.\n\n## Experimental Speculative Tool Execution Mode\n\nUse this mode only when the user explicitly asks to reduce latency by launching tool work before a generated program or action is complete. Establish measured sequential and ordinary committed-parallel baselines first, then read [speculative-tool-execution.md](references\u002Fspeculative-tool-execution.md) together with the loop, tool, security, and eval references.\n\nRequire host-owned eligibility, permission at physical dispatch, isolated disposable state, exact versioned claim identity, occurrence-safe handling of stochastic calls, separate waste and cost budgets, confirmed cancellation accounting, and task-parity evaluation. Partial model output never grants authority, and risky or approval-gated effects must not execute speculatively.\n\n## Reference map\n\n- Read [mvp-agent-blueprint.md](references\u002Fmvp-agent-blueprint.md) first when the user asks to create a new domain-specific agent or MVP harness.\n- Read [coding-agents.md](references\u002Fcoding-agents.md) when the requested agent reads, edits, tests, reviews, migrates, or opens changes against a software repository.\n- Read [architecture.md](references\u002Farchitecture.md) for the full harness model and component boundaries.\n- Read [agent-legibility-feedback-loops.md](references\u002Fagent-legibility-feedback-loops.md) for source-of-truth knowledge bases, agent-legible environments, validation loops, mechanical invariants, and recurring cleanup.\n- Read [agentic-loop.md](references\u002Fagentic-loop.md) for the provider-neutral loop, step budgets, retries, and loop variants.\n- Read [completion-reconciliation.md](references\u002Fcompletion-reconciliation.md) when a request, rollout, bug fix, review finding, migration, or operational gap must advance from observed state to evidence-bound completion.\n- Read [speculative-tool-execution.md](references\u002Fspeculative-tool-execution.md) when an advanced code-mode or programmatic-tool harness should prelaunch eligible work during generation while retaining completed-program authority and occurrence-aware claiming.\n- Read [tools-and-permissions.md](references\u002Ftools-and-permissions.md) for tool contracts, risk classes, approval logic, structured results, and sandboxing.\n- Read [environment-adaptive-tools.md](references\u002Fenvironment-adaptive-tools.md) when the tool environment is partially known or changes at runtime and needs bootstrap discovery, schema validation, safe probing, exact binding, or drift handling.\n- Read [context-memory-compaction.md](references\u002Fcontext-memory-compaction.md) for context assembly, scoped memory, retrieval, auto-compaction, and handoff summaries.\n- Read [prompt-caching-and-cost.md](references\u002Fprompt-caching-and-cost.md) for stable-prefix design, cache-aware context ordering, compaction\u002Fcache tradeoffs, telemetry, and cost control.\n- Read [planning-and-goals.md](references\u002Fplanning-and-goals.md) for planning mode, approval-gated execution, goals, checkpoints, and stopping conditions.\n- Read [workflow-orchestration.md](references\u002Fworkflow-orchestration.md) for planner-generated workflows, bounded work packets, worker\u002Fverifier contexts, integration, durable workflow state, and orchestration anti-patterns.\n- Read [self-refining-recursive-harnesses.md](references\u002Fself-refining-recursive-harnesses.md) for strict RLM and RLM-inspired patterns, programmable context, recursive execution units, retained children, continual refinement, executable skills, and long-running lifecycle controls.\n- Read [skills-and-connectors.md](references\u002Fskills-and-connectors.md) for Agent Skills, progressive disclosure, MCP, external connectors, tool search, and attachment strategy.\n- Read [system-prompts-instructions.md](references\u002Fsystem-prompts-instructions.md) for system\u002Fdeveloper\u002Fuser instruction hierarchy and prompt templates.\n- Read [provider-api-patterns.md](references\u002Fprovider-api-patterns.md) for OpenAI, Anthropic, and OpenAI-compatible API implementation patterns.\n- Read [security-observability.md](references\u002Fsecurity-observability.md) for guardrails, threat models, approval records, trace design, launch safety gates, and incident response.\n- Read [evals.md](references\u002Fevals.md) for evaluation strategy, adversarial test cases, trace grading, regression evals, and eval-driven launch criteria.\n- Read [checklists.md](references\u002Fchecklists.md) for condensed implementation and audit checklists.\n- Read [source-links.md](references\u002Fsource-links.md) for official links and provider-specific references.\n- Read [coverage-audit.md](references\u002Fcoverage-audit.md) to verify the skill covers the requested harness topics.\n\n## Default answer structure when advising a user\n\nWhen the user asks for guidance, produce a concrete architecture, not generic principles:\n\n0. **MVP boundary**: smallest useful version, assumptions, non-goals, and launch criteria.\n1. **Harness boundary**: what the model does versus what application code does.\n2. **Loop**: how model calls, tool calls, tool results, stopping, and retries work.\n3. **Instructions**: system\u002Fdeveloper\u002Fuser instruction hierarchy and scoped memory.\n4. **Tools**: tool registry, schemas, outputs, risk classes, permissions, and approval points.\n5. **Environment adaptation, when requested**: stable bootstrap, discovery, descriptor provenance, safe probes, exact bindings, drift invalidation, and fallback.\n6. **Context**: retrieval, memory, summarization, cache-aware ordering, compaction triggers, and rehydration.\n7. **Planning\u002Fgoals**: when to enter planning mode, when to run a goal-like loop, and how to stop.\n8. **Workflow orchestration**: when to decompose into durable work packets, worker contexts, verifier contexts, and integration.\n9. **Skills\u002Fconnectors**: how skills and MCP\u002Fexternal connectors are discovered, loaded, permissioned, and audited.\n10. **Safety**: prompt injection boundaries, secrets, sandboxing, data access, and guardrails.\n11. **Observability**: traces, metrics, replay, auditability, and incident readiness.\n12. **Evals**: test cases, failure probes, trace grading, regression suites, and launch criteria.\n13. **Rollout**: minimal viable harness first, then add autonomy only when measured results justify it.\n14. **Legibility loop**: source-of-truth artifacts, validation signals, feedback capture, and recurring cleanup.\n15. **Advanced recursive\u002Fcontinual profile, when requested**: context handles, recursive unit, retained lifecycle, mutable state boundary, observed validation, promotion, and rollback.\n16. **Experimental speculative execution, when requested**: eligibility, exact claim identity, isolated state, waste budgets, cancellation evidence, and parity evaluation against speculation-off.\n\n## Non-negotiable principles\n\n- The model does not execute actions directly; the harness does.\n- Before completing an action request, reconcile every required item to `SATISFIED` with a real receipt, `INTERNAL_FIXABLE` with a durable work order and proof, `RETRYABLE` with an idempotency key plus attempt\u002Flimit, or `BLOCKED_EXTERNAL` with a measured boundary and named recheck. A diagnosis paragraph or final prose never completes work.\n- Every tool call must receive a tool result, even if the result is denial, timeout, error, or abort.\n- Every risky side effect needs runtime policy enforcement outside the model.\n- Draft and commit should be separate for external, financial, destructive, security, or regulated actions.\n- Tool schemas must be narrow, typed, validated locally, and auditable.\n- A changing capability catalogue must enter through a trusted bootstrap contract; discovery, schema inference, and generated helpers never create permissions.\n- Context should be informative, tight, and cache-aware; retrieve and attach just in time.\n- Skills and external connectors should use progressive disclosure; do not expose every capability up front.\n- Auto-compaction should preserve working state, not conversational prose.\n- Long-running goals need budgets, checkpoints, and a measurable done condition.\n- Workflow orchestration needs durable packet state, independent verification, integration rules, and total budget enforcement.\n- Recursive and continual harnesses may mutate only typed supplemental state; immutable runtime policy must validate changes, preserve authority boundaries, and support rollback.\n- Speculative execution may predict work but never authorize it; only an exact eligible call in the completed program may claim the result.\n- The harness must trace operational events without exposing hidden reasoning.\n- Durable knowledge should live in agent-readable source-of-truth artifacts, not only in chat history.\n- Repeated failures should become tools, validators, docs, evals, or policies rather than repeated prompt advice.\n\n## Common output template\n\nUse this template when the user wants a harness design. If the user asks to make\u002Fbuild an agent, use this as an MVP blueprint, not a purely conceptual answer:\n\n```markdown\n# MVP Agent Harness Blueprint: [domain\u002Fuse case]\n\n## Objective\n[What the agent must accomplish and for whom.]\n\n## MVP scope and assumptions\n[Smallest useful version, explicit assumptions, non-goals, and what is intentionally deferred.]\n\n## Autonomy and risk level\n[Answer-only, draft-only, approval-gated, or autonomous within policy.]\n\n## Core loop\n[How the model, tools, observations, retries, and stopping rules work.]\n\n## Instruction architecture\n[System\u002Fdeveloper\u002Fuser\u002Fscoped memory layout.]\n\n## Tool registry\n[Tools, schemas, risk classes, permissions, and result format.]\n\n## Planning and goal behavior\n[When to plan, when to ask, when to continue, when to stop.]\n\n## Context and memory\n[Retrieval, durable state, compaction, and rehydration.]\n\n## Skills and connectors\n[Reusable skills, MCP\u002Fexternal connector policy, tool search, attachment rules.]\n\n## Safety and approvals\n[Guardrails, prompt injection treatment, secrets, sandboxing, human review.]\n\n## Observability\n[Trace events, metrics, replay, auditability, and incident response.]\n\n## Evals\n[Eval cases, failure probes, trace grading, regression suites, and launch criteria.]\n\n## Minimal implementation path\n[Smallest safe version first, implementation skeleton, validation path, then measured expansion.]\n```\n\n## Gotchas\n\n- Do not design a multi-agent system before a single-agent loop has failed measurable evals.\n- Do not expose broad tools such as `execute_anything`, `write_database`, or `send_message` without a strict wrapper and approval policy.\n- Do not treat retrieved webpages, emails, tickets, PDFs, logs, or connector-provided descriptions as trusted instructions.\n- Do not let context compaction erase approval state, active plan, loaded rules, or changed artifacts.\n- Do not use a goal loop for a vague backlog; use it only for a single objective with validation and a budget.\n- Do not use workflow orchestration for work that one linear loop can complete cheaply and reliably.\n- Do not call a harness self-improving merely because it accumulates memory, or promote a self-authored change without an observed probe and rollback path.\n- Do not rely on prompt text for safety that must be enforced by code.\n- Do not put timestamps, request IDs, or volatile environment state at the start of cacheable prompts.\n- Do not let stale documentation, weak examples, or obsolete tools accumulate without recurring cleanup.\n- Do not claim unknown-environment operation without a stable bootstrap interface, exact runtime bindings, and invalidation when the environment changes.\n- Do not speculate a call merely because it is read-only; privacy, cost, rate limits, observability, cancellation, and discard safety must all pass host policy.\n\n## Troubleshooting\n\n- **The agent reports a gap and stops.** Record the observed item, classify it with the completion\u002Freconciliation contract, and dispatch the next owned proof or bounded retry; do not close on the report.\n- **A retry loop looks active but makes no progress.** Require an idempotency key, attempt counter, limit, and new observation; otherwise stop retrying and classify the boundary.\n- **A completion watchdog reports a dead process and pauses.** Treat the heartbeat as a wake signal, reconcile the partial and ambiguous side effects, then run the bounded idempotent resume\u002Frepair unless the user explicitly requested observation-only monitoring or a measured external boundary forbids recovery.\n- **A completion watchdog sees a `.failed` marker and pauses.** The marker proves the attempt failed, not that the boundary is external. Classify its cause; a reproducible local input or software defect is `INTERNAL_FIXABLE` and requires preserved evidence, a focused Git-backed causal repair, a successor contract, and a verified resume.\n- **A final answer claims completion without receipts.** Run held-out finish-versus-report eval cases and reject the terminal state until every required item has a receipt or an explicit external recheck.\n\n## Source links for further reading\n\nUse these links when provider-specific detail is needed:\n\n- Agent Skills specification: https:\u002F\u002Fagentskills.io\u002Fspecification\n- Agent Skills creator best practices: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Fbest-practices\n- Agent Skills description optimization: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Foptimizing-descriptions\n- Agent Skills evaluation guide: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Fevaluating-skills\n- OpenAI function calling: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Ffunction-calling\n- OpenAI tools: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Ftools\n- OpenAI agents: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\n- OpenAI guardrails and human review: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\u002Fguardrails-approvals\n- OpenAI agent safety: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagent-builder-safety\n- OpenAI sandbox agents: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\u002Fsandboxes\n- OpenAI Responses migration: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fmigrate-to-responses\n- OpenAI prompt caching: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fprompt-caching\n- OpenAI Prompt Caching 201: https:\u002F\u002Fdevelopers.openai.com\u002Fcookbook\u002Fexamples\u002Fprompt_caching_201\n- OpenAI harness engineering article: https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F\n- Anthropic building effective agents: https:\u002F\u002Fwww.anthropic.com\u002Fresearch\u002Fbuilding-effective-agents\n- Anthropic effective context engineering: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Feffective-context-engineering-for-ai-agents\n- Anthropic writing effective tools for agents: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fwriting-tools-for-agents\n- Anthropic long-running harnesses: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Feffective-harnesses-for-long-running-agents\n- Anthropic code execution with MCP: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fcode-execution-with-mcp\n- MCP specification: https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002F2026-07-28\n","# Agents Best Practices\n\nUse 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.\n\n## Core stance\n\nAn agent harness is the control plane around a model. The model proposes actions; the harness validates, authorizes, executes, records, summarizes, and returns observations. Keep the loop simple and make the runtime rigorous.\n\nDefault architecture:\n\n```text\nuser\u002Ftask\n  -> instruction and context builder\n  -> model call\n  -> tool\u002Faction proposal\n  -> schema validation\n  -> permission decision\n  -> execution or approval pause\n  -> structured observation\n  -> context update\n  -> repeat within budget or finish\n```\n\n## Completion and reconciliation\n\nFor an action request, treat a discovered problem as a state transition, not a\nterminal report. Before calling the request complete, reconcile every required\nitem using the contract in [completion-reconciliation.md](references\u002Fcompletion-reconciliation.md).\nDiagnosis-only internal gaps re-enter owned work; final prose is never a\ncompletion signal.\n\n## When to activate this skill\n\nUse this skill for prompts involving any of these intents:\n\n- build an agent, agentic workflow, AI worker, autonomous assistant, or harness;\n- create a domain-specific MVP agent design, starter harness, implementation blueprint, or first production-safe version;\n- choose between OpenAI, Anthropic, OpenAI-compatible APIs, direct tool loops, hosted tools, or SDKs;\n- design tools, permissions, guardrails, approval flows, or sandboxing;\n- design an agent for a partially known or changing environment using capability discovery, safe probing, runtime binding, schema verification, or drift invalidation;\n- reduce code-mode or programmatic-tool latency through speculative execution, partial-program analysis, futures, exact claim semantics, or cancellation of unused work;\n- create planning mode, workflow orchestration, goal mode, todo tracking, or long-running task behavior;\n- add context compaction, memory, retrieval, scoped instructions, or prompt hierarchies;\n- design a recursive language model (RLM), programmable-context runtime, self-refining or continual harness, retained child agents, daemon-backed or scheduled agent, or executable skills;\n- attach Agent Skills, reusable workflows, MCP servers, external connectors, or tool search;\n- audit an existing agent for reliability, cost, prompt-cache hit rate, safety, latency, or observability;\n- create system prompts or developer instructions for a domain-specific agent;\n- make source-of-truth knowledge, validation signals, logs, metrics, or workflow state legible to an agent.\n\nDo not use this skill for ordinary single-turn writing, translation, or Q&A unless the user is asking about the design of an agent that will perform those tasks.\n\n## How to use this skill\n\nFirst, identify the user's design problem:\n\n1. **Domain**: what work the agent performs.\n2. **Autonomy level**: answer-only, draft-only, approval-gated action, or autonomous action within policy.\n3. **Risk level**: read-only, internal write, external communication, financial, legal, healthcare, security, destructive, or privileged.\n4. **State duration**: single turn, multi-turn session, resumable workflow, or long-running goal.\n5. **Tool surface**: internal APIs, hosted tools, MCP\u002Fexternal connectors, browser, sandbox, filesystem, database, communication, or computation.\n6. **Validation**: what proves the task is complete.\n\nThen load the most relevant reference files, not all files by default. If the user asks to make or build an agent for a domain, default to MVP Builder Mode.\n\n## MVP Builder Mode\n\nWhen the user asks to make, build, design, scaffold, or specify an agent for a domain, produce a concrete domain-specific MVP harness blueprint, not only advice. Use [mvp-agent-blueprint.md](references\u002Fmvp-agent-blueprint.md) as the primary reference and load other references as needed.\n\nDefault behavior:\n\n1. Infer a reasonable first version from the user's domain and stated constraints.\n2. State assumptions briefly instead of blocking on missing details.\n3. Design the smallest safe harness that can accomplish useful work.\n4. Include the core agentic loop, tool registry, permission matrix, context\u002Fmemory\u002Fcompaction, planning mode, goal-like loop criteria, skills\u002Fconnectors, prompt-cache\u002Fcost strategy, observability, evals, and launch path.\n5. Mark high-risk actions as draft-only or approval-gated by default.\n6. Keep the MVP to the smallest reliable single-loop harness unless the user explicitly asks for a broader architecture.\n\n## Environment-Adaptive Tool Mode\n\nUse this mode when the useful tool catalogue, schemas, versions, or implementations are late-bound rather than fully configured before the run. Read [environment-adaptive-tools.md](references\u002Fenvironment-adaptive-tools.md) together with the standard tool, connector, security, and eval references.\n\nRequire a small trusted bootstrap interface, host-owned capability ledger, provenance-labeled descriptors, bounded read-only or isolated probes, opaque scope-and-version bindings, call-time permission checks, and drift invalidation. Discovery, generated code, and inferred schemas must never grant authority. Keep this post-MVP unless adapting to changing environments is the product's primary job; even then, establish a fixed read-only baseline first.\n\n## Advanced Recursive and Continual Harness Mode\n\nUse this mode only when the user explicitly asks for programmable context, recursive execution, retained children, continual refinement, executable skills, or daemon\u002Fscheduled autonomy. Treat it as post-MVP: establish a measured single-loop baseline first, then read [self-refining-recursive-harnesses.md](references\u002Fself-refining-recursive-harnesses.md) together with the context, workflow, permission, security, and eval references.\n\nMake the context representation, recursive unit, mutable state, promotion scope, lifecycle, budgets, validation probes, and rollback path explicit. Keep base authority, permission enforcement, credentials, budgets, and evaluation policy outside the mutable surface.\n\n## Experimental Speculative Tool Execution Mode\n\nUse this mode only when the user explicitly asks to reduce latency by launching tool work before a generated program or action is complete. Establish measured sequential and ordinary committed-parallel baselines first, then read [speculative-tool-execution.md](references\u002Fspeculative-tool-execution.md) together with the loop, tool, security, and eval references.\n\nRequire host-owned eligibility, permission at physical dispatch, isolated disposable state, exact versioned claim identity, occurrence-safe handling of stochastic calls, separate waste and cost budgets, confirmed cancellation accounting, and task-parity evaluation. Partial model output never grants authority, and risky or approval-gated effects must not execute speculatively.\n\n## Reference map\n\n- Read [mvp-agent-blueprint.md](references\u002Fmvp-agent-blueprint.md) first when the user asks to create a new domain-specific agent or MVP harness.\n- Read [coding-agents.md](references\u002Fcoding-agents.md) when the requested agent reads, edits, tests, reviews, migrates, or opens changes against a software repository.\n- Read [architecture.md](references\u002Farchitecture.md) for the full harness model and component boundaries.\n- Read [agent-legibility-feedback-loops.md](references\u002Fagent-legibility-feedback-loops.md) for source-of-truth knowledge bases, agent-legible environments, validation loops, mechanical invariants, and recurring cleanup.\n- Read [agentic-loop.md](references\u002Fagentic-loop.md) for the provider-neutral loop, step budgets, retries, and loop variants.\n- Read [completion-reconciliation.md](references\u002Fcompletion-reconciliation.md) when a request, rollout, bug fix, review finding, migration, or operational gap must advance from observed state to evidence-bound completion.\n- Read [speculative-tool-execution.md](references\u002Fspeculative-tool-execution.md) when an advanced code-mode or programmatic-tool harness should prelaunch eligible work during generation while retaining completed-program authority and occurrence-aware claiming.\n- Read [tools-and-permissions.md](references\u002Ftools-and-permissions.md) for tool contracts, risk classes, approval logic, structured results, and sandboxing.\n- Read [environment-adaptive-tools.md](references\u002Fenvironment-adaptive-tools.md) when the tool environment is partially known or changes at runtime and needs bootstrap discovery, schema validation, safe probing, exact binding, or drift handling.\n- Read [context-memory-compaction.md](references\u002Fcontext-memory-compaction.md) for context assembly, scoped memory, retrieval, auto-compaction, and handoff summaries.\n- Read [prompt-caching-and-cost.md](references\u002Fprompt-caching-and-cost.md) for stable-prefix design, cache-aware context ordering, compaction\u002Fcache tradeoffs, telemetry, and cost control.\n- Read [planning-and-goals.md](references\u002Fplanning-and-goals.md) for planning mode, approval-gated execution, goals, checkpoints, and stopping conditions.\n- Read [workflow-orchestration.md](references\u002Fworkflow-orchestration.md) for planner-generated workflows, bounded work packets, worker\u002Fverifier contexts, integration, durable workflow state, and orchestration anti-patterns.\n- Read [self-refining-recursive-harnesses.md](references\u002Fself-refining-recursive-harnesses.md) for strict RLM and RLM-inspired patterns, programmable context, recursive execution units, retained children, continual refinement, executable skills, and long-running lifecycle controls.\n- Read [skills-and-connectors.md](references\u002Fskills-and-connectors.md) for Agent Skills, progressive disclosure, MCP, external connectors, tool search, and attachment strategy.\n- Read [system-prompts-instructions.md](references\u002Fsystem-prompts-instructions.md) for system\u002Fdeveloper\u002Fuser instruction hierarchy and prompt templates.\n- Read [provider-api-patterns.md](references\u002Fprovider-api-patterns.md) for OpenAI, Anthropic, and OpenAI-compatible API implementation patterns.\n- Read [security-observability.md](references\u002Fsecurity-observability.md) for guardrails, threat models, approval records, trace design, launch safety gates, and incident response.\n- Read [evals.md](references\u002Fevals.md) for evaluation strategy, adversarial test cases, trace grading, regression evals, and eval-driven launch criteria.\n- Read [checklists.md](references\u002Fchecklists.md) for condensed implementation and audit checklists.\n- Read [source-links.md](references\u002Fsource-links.md) for official links and provider-specific references.\n- Read [coverage-audit.md](references\u002Fcoverage-audit.md) to verify the skill covers the requested harness topics.\n\n## Default answer structure when advising a user\n\nWhen the user asks for guidance, produce a concrete architecture, not generic principles:\n\n0. **MVP boundary**: smallest useful version, assumptions, non-goals, and launch criteria.\n1. **Harness boundary**: what the model does versus what application code does.\n2. **Loop**: how model calls, tool calls, tool results, stopping, and retries work.\n3. **Instructions**: system\u002Fdeveloper\u002Fuser instruction hierarchy and scoped memory.\n4. **Tools**: tool registry, schemas, outputs, risk classes, permissions, and approval points.\n5. **Environment adaptation, when requested**: stable bootstrap, discovery, descriptor provenance, safe probes, exact bindings, drift invalidation, and fallback.\n6. **Context**: retrieval, memory, summarization, cache-aware ordering, compaction triggers, and rehydration.\n7. **Planning\u002Fgoals**: when to enter planning mode, when to run a goal-like loop, and how to stop.\n8. **Workflow orchestration**: when to decompose into durable work packets, worker contexts, verifier contexts, and integration.\n9. **Skills\u002Fconnectors**: how skills and MCP\u002Fexternal connectors are discovered, loaded, permissioned, and audited.\n10. **Safety**: prompt injection boundaries, secrets, sandboxing, data access, and guardrails.\n11. **Observability**: traces, metrics, replay, auditability, and incident readiness.\n12. **Evals**: test cases, failure probes, trace grading, regression suites, and launch criteria.\n13. **Rollout**: minimal viable harness first, then add autonomy only when measured results justify it.\n14. **Legibility loop**: source-of-truth artifacts, validation signals, feedback capture, and recurring cleanup.\n15. **Advanced recursive\u002Fcontinual profile, when requested**: context handles, recursive unit, retained lifecycle, mutable state boundary, observed validation, promotion, and rollback.\n16. **Experimental speculative execution, when requested**: eligibility, exact claim identity, isolated state, waste budgets, cancellation evidence, and parity evaluation against speculation-off.\n\n## Non-negotiable principles\n\n- The model does not execute actions directly; the harness does.\n- Before completing an action request, reconcile every required item to `SATISFIED` with a real receipt, `INTERNAL_FIXABLE` with a durable work order and proof, `RETRYABLE` with an idempotency key plus attempt\u002Flimit, or `BLOCKED_EXTERNAL` with a measured boundary and named recheck. A diagnosis paragraph or final prose never completes work.\n- Every tool call must receive a tool result, even if the result is denial, timeout, error, or abort.\n- Every risky side effect needs runtime policy enforcement outside the model.\n- Draft and commit should be separate for external, financial, destructive, security, or regulated actions.\n- Tool schemas must be narrow, typed, validated locally, and auditable.\n- A changing capability catalogue must enter through a trusted bootstrap contract; discovery, schema inference, and generated helpers never create permissions.\n- Context should be informative, tight, and cache-aware; retrieve and attach just in time.\n- Skills and external connectors should use progressive disclosure; do not expose every capability up front.\n- Auto-compaction should preserve working state, not conversational prose.\n- Long-running goals need budgets, checkpoints, and a measurable done condition.\n- Workflow orchestration needs durable packet state, independent verification, integration rules, and total budget enforcement.\n- Recursive and continual harnesses may mutate only typed supplemental state; immutable runtime policy must validate changes, preserve authority boundaries, and support rollback.\n- Speculative execution may predict work but never authorize it; only an exact eligible call in the completed program may claim the result.\n- The harness must trace operational events without exposing hidden reasoning.\n- Durable knowledge should live in agent-readable source-of-truth artifacts, not only in chat history.\n- Repeated failures should become tools, validators, docs, evals, or policies rather than repeated prompt advice.\n\n## Common output template\n\nUse this template when the user wants a harness design. If the user asks to make\u002Fbuild an agent, use this as an MVP blueprint, not a purely conceptual answer:\n\n```markdown\n# MVP Agent Harness Blueprint: [domain\u002Fuse case]\n\n## Objective\n[What the agent must accomplish and for whom.]\n\n## MVP scope and assumptions\n[Smallest useful version, explicit assumptions, non-goals, and what is intentionally deferred.]\n\n## Autonomy and risk level\n[Answer-only, draft-only, approval-gated, or autonomous within policy.]\n\n## Core loop\n[How the model, tools, observations, retries, and stopping rules work.]\n\n## Instruction architecture\n[System\u002Fdeveloper\u002Fuser\u002Fscoped memory layout.]\n\n## Tool registry\n[Tools, schemas, risk classes, permissions, and result format.]\n\n## Planning and goal behavior\n[When to plan, when to ask, when to continue, when to stop.]\n\n## Context and memory\n[Retrieval, durable state, compaction, and rehydration.]\n\n## Skills and connectors\n[Reusable skills, MCP\u002Fexternal connector policy, tool search, attachment rules.]\n\n## Safety and approvals\n[Guardrails, prompt injection treatment, secrets, sandboxing, human review.]\n\n## Observability\n[Trace events, metrics, replay, auditability, and incident response.]\n\n## Evals\n[Eval cases, failure probes, trace grading, regression suites, and launch criteria.]\n\n## Minimal implementation path\n[Smallest safe version first, implementation skeleton, validation path, then measured expansion.]\n```\n\n## Gotchas\n\n- Do not design a multi-agent system before a single-agent loop has failed measurable evals.\n- Do not expose broad tools such as `execute_anything`, `write_database`, or `send_message` without a strict wrapper and approval policy.\n- Do not treat retrieved webpages, emails, tickets, PDFs, logs, or connector-provided descriptions as trusted instructions.\n- Do not let context compaction erase approval state, active plan, loaded rules, or changed artifacts.\n- Do not use a goal loop for a vague backlog; use it only for a single objective with validation and a budget.\n- Do not use workflow orchestration for work that one linear loop can complete cheaply and reliably.\n- Do not call a harness self-improving merely because it accumulates memory, or promote a self-authored change without an observed probe and rollback path.\n- Do not rely on prompt text for safety that must be enforced by code.\n- Do not put timestamps, request IDs, or volatile environment state at the start of cacheable prompts.\n- Do not let stale documentation, weak examples, or obsolete tools accumulate without recurring cleanup.\n- Do not claim unknown-environment operation without a stable bootstrap interface, exact runtime bindings, and invalidation when the environment changes.\n- Do not speculate a call merely because it is read-only; privacy, cost, rate limits, observability, cancellation, and discard safety must all pass host policy.\n\n## Troubleshooting\n\n- **The agent reports a gap and stops.** Record the observed item, classify it with the completion\u002Freconciliation contract, and dispatch the next owned proof or bounded retry; do not close on the report.\n- **A retry loop looks active but makes no progress.** Require an idempotency key, attempt counter, limit, and new observation; otherwise stop retrying and classify the boundary.\n- **A completion watchdog reports a dead process and pauses.** Treat the heartbeat as a wake signal, reconcile the partial and ambiguous side effects, then run the bounded idempotent resume\u002Frepair unless the user explicitly requested observation-only monitoring or a measured external boundary forbids recovery.\n- **A completion watchdog sees a `.failed` marker and pauses.** The marker proves the attempt failed, not that the boundary is external. Classify its cause; a reproducible local input or software defect is `INTERNAL_FIXABLE` and requires preserved evidence, a focused Git-backed causal repair, a successor contract, and a verified resume.\n- **A final answer claims completion without receipts.** Run held-out finish-versus-report eval cases and reject the terminal state until every required item has a receipt or an explicit external recheck.\n\n## Source links for further reading\n\nUse these links when provider-specific detail is needed:\n\n- Agent Skills specification: https:\u002F\u002Fagentskills.io\u002Fspecification\n- Agent Skills creator best practices: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Fbest-practices\n- Agent Skills description optimization: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Foptimizing-descriptions\n- Agent Skills evaluation guide: https:\u002F\u002Fagentskills.io\u002Fskill-creation\u002Fevaluating-skills\n- OpenAI function calling: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Ffunction-calling\n- OpenAI tools: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Ftools\n- OpenAI agents: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\n- OpenAI guardrails and human review: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\u002Fguardrails-approvals\n- OpenAI agent safety: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagent-builder-safety\n- OpenAI sandbox agents: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fagents\u002Fsandboxes\n- OpenAI Responses migration: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fmigrate-to-responses\n- OpenAI prompt caching: https:\u002F\u002Fdevelopers.openai.com\u002Fapi\u002Fdocs\u002Fguides\u002Fprompt-caching\n- OpenAI Prompt Caching 201: https:\u002F\u002Fdevelopers.openai.com\u002Fcookbook\u002Fexamples\u002Fprompt_caching_201\n- OpenAI harness engineering article: https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F\n- Anthropic building effective agents: https:\u002F\u002Fwww.anthropic.com\u002Fresearch\u002Fbuilding-effective-agents\n- Anthropic effective context engineering: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Feffective-context-engineering-for-ai-agents\n- Anthropic writing effective tools for agents: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fwriting-tools-for-agents\n- Anthropic long-running harnesses: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Feffective-harnesses-for-long-running-agents\n- Anthropic code execution with MCP: https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fcode-execution-with-mcp\n- MCP specification: https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002F2026-07-28\n",{"name":5,"description":7},"main","ac20f93f36e574610dbc51743bb21e7765142e95","skills\u002Fagents-best-practices",32,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config","https:\u002F\u002Fgithub.com\u002FAnastasiyaW","https:\u002F\u002Fhappyin.work","ComfyUI specialist · turnkey image-processing pipelines · diffusion models, computer vision · Belgrade","2026-11-14 01:35:49",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill agents-best-practices",{"tool":61,"command":62},"bunx","bunx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill agents-best-practices",{"tool":64,"command":65},"pnpm","pnpm dlx skills add AnastasiyaW\u002Fcodex-claude-code-config --skill agents-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002FSKILL.md",true,[69,75,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"ATTRIBUTION.md","REFERENCE","参考文档",844,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002FATTRIBUTION.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":16},"LICENSE-upstream","LICENSE","许可证",1071,{"path":81,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fagent-legibility-feedback-loops.md",7773,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fagent-legibility-feedback-loops.md",{"path":85,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fagentic-loop.md",6875,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fagentic-loop.md",{"path":89,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Farchitecture.md",9272,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Farchitecture.md",{"path":93,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fchecklists.md",15819,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fchecklists.md",{"path":97,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fcoding-agents.md",17505,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fcoding-agents.md",{"path":101,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fcompletion-reconciliation.md",7004,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fcompletion-reconciliation.md",{"path":105,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fcontext-memory-compaction.md",8027,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fcontext-memory-compaction.md",{"path":109,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fcoverage-audit.md",8367,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fcoverage-audit.md",{"path":113,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fenvironment-adaptive-tools.md",22372,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fenvironment-adaptive-tools.md",{"path":117,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fevals.md",14161,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fevals.md",{"path":121,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fmvp-agent-blueprint.md",16502,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fmvp-agent-blueprint.md",{"path":125,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fplanning-and-goals.md",7362,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fplanning-and-goals.md",{"path":129,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fprompt-caching-and-cost.md",7586,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fprompt-caching-and-cost.md",{"path":133,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fprovider-api-patterns.md",7435,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fprovider-api-patterns.md",{"path":137,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fsecurity-observability.md",6706,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fsecurity-observability.md",{"path":141,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fself-refining-recursive-harnesses.md",26134,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fself-refining-recursive-harnesses.md",{"path":145,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Fskills-and-connectors.md",8849,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fskills-and-connectors.md",{"path":149,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":150,"sourceHtmlUrl":151},"references\u002Fsource-links.md",7681,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fsource-links.md",{"path":153,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":154,"sourceHtmlUrl":155},"references\u002Fspeculative-tool-execution.md",18409,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fspeculative-tool-execution.md",{"path":157,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":158,"sourceHtmlUrl":159},"references\u002Fsystem-prompts-instructions.md",4430,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fsystem-prompts-instructions.md",{"path":161,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":162,"sourceHtmlUrl":163},"references\u002Ftools-and-permissions.md",8360,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Ftools-and-permissions.md",{"path":165,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":166,"sourceHtmlUrl":167},"references\u002Fworkflow-orchestration.md",13486,"https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fagents-best-practices\u002Freferences\u002Fworkflow-orchestration.md",[169,177,192,218,246,255],{"skillNo":170,"name":171,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":41},"01M6JZ2SNGKFN8NK3HZBMVGQP1","owner-voice","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fowner-voice\u002FSKILL.md",[],[175,176],"owner voice","voice",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":41},"01M6JZ2N0C2WFCAK6T8N3RMBVS","humanize-russian","Редактировать русский текст для ясности и естественного звучания, сохраняя факты,\nтермины, источники и жанр. Использовать когда: убрать канцелярит, сделать текст\nживее, отредактировать русский черновик или статью перед публикацией.\nНе определяет авторство и не обещает обход детекторов. Для английского —\nhumanize-english; для структуры и доказательств — article-structure-review.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fhumanize-russian\u002FSKILL.md",[],[184,185,186,187,188,189,190,191],"russian","humanize","humanize russian","english","review","structure","article","2026",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":41},"01M6JZ2GN264R6GKBQ5QVZE0ZS","humanize-english","Edit English drafts for clear, natural language while preserving facts, uncertainty,\ntechnical meaning, citations and genre. Use when: humanize this text, remove AI-style\nfiller, improve English prose, or edit an English article before publication.\nNot an authorship detector or a promise to bypass one. For Russian use\nhumanize-russian; for thesis\u002Fevidence and structure use article-structure-review.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fhumanize-english\u002FSKILL.md",[],[185,187,199,200,184,201,202,203,204,189,205,206,207,188,208,191,23,209,210,211,212,213,214,215,190,216,217],"humanize english","technical","evidence","use","remove","edit","text","improve","Citations","Publication","for","facts","natural language","drafts","meaning","uncertainty","style","thesis","promise",{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":224,"publishedAt":41},"01M6JZ2BM31D5Y609DQJJJM6MM","caveman","Ultra-compressed reply mode. Cuts output tokens ~65-75% by answering in terse \"caveman\" style while keeping full technical accuracy, and shapes what survives: action first, state restated every turn, concrete time estimates, visible wins. Intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says \"caveman\", \"talk like caveman\", \"use caveman\", \"less tokens\", \"be brief\", or Russian \"пещерный режим\", \"говори как пещерный\", \"кратко\", \"меньше токенов\", \"экономь токены\" — or invokes \u002Fcaveman. Preserves the user's language (Russian in → Russian caveman out). Off only: \"stop caveman\" \u002F \"normal mode\" \u002F \"обычный режим\". Do not use merely because a response should be concise, and do not use when the user requests normal prose, a polished document, or exact wording.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fcaveman\u002FSKILL.md",[],[220,215,23,225,226,227,228,229,230,231,232,233,234,235,236,237,238,184,239,240,241,242,202,200,243,244,245],"normal","terse","accuracy","ultra","mode","document","requests","concise","output","intensity","tokens","full","time","do","action","default","stop","only","first","brief","state",{"skillNo":247,"name":248,"nameZh":6,"description":249,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":250,"categories":251,"keywords":252,"publishedAt":41},"01M6JZ25Y5GJXFKXNR6TRQX237","article-structure-review","Проверить структуру технической статьи после черновика: задача читателя, жанр,\nопора значимых утверждений на доказательства и честные ограничения.\nUse after the first draft, before publication. Исправлять структуру, когда это\nвходит в запрос; не создавать обязательный конвейер из других навыков.\nДля локальной языковой редактуры — humanize-english или humanize-russian.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Farticle-structure-review\u002FSKILL.md",[],[253,190,189,188,254,185,184,202,243,187,208,191],"article structure review","draft",{"skillNo":256,"name":257,"nameZh":6,"description":258,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":259,"categories":260,"keywords":261,"publishedAt":41},"01M6JZ1XN7WQQCWCHHMTTD8K28","video-post-production","Video post-production rules: audio mastering, color, captions, platform export. Use when: 'add music', 'add voiceover', 'export for tiktok', 'add captions', 'color grade', 'audio levels', 'master audio', 'export settings', 'platform requirements'. Covers FFmpeg patterns, audio chain, subtitle standards, and platform-specific export configs. Do NOT use to generate or animate the video frames\u002Fscenes in code (use remotion-production-guide), to write the script (use video-narrative-arc), or to evaluate script quality (use script-evaluator); this is the finishing stage applied to an already-rendered video.","https:\u002F\u002Fgithub.com\u002FAnastasiyaW\u002Fcodex-claude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-production\u002Fvideo-post-production\u002FSKILL.md",[],[262,263,264,265,266,23,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281],"video post production","post","Production","Video","patterns","post-production","narrative","add","chain","tiktok","voiceover","master","export","write","music","Captions","Audio","Remotion","code","generate"]