Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oakoss avatar

Expert Instruction

  • 66 installs
  • 14 repo stars
  • Updated March 2, 2026
  • oakoss/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

expert-instruction is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • expert-instruction
  • AI & Agent Building
  • AI-coding skill

Expert Instruction by the numbers

  • 66 all-time installs (skills.sh)
  • +3 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #5,974 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oakoss/agent-skills --skill expert-instruction

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs66
repo stars14
Last updatedMarch 2, 2026
Repositoryoakoss/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Expert Instruction Design

Overview

Expert instruction design focuses on crafting system prompts that define how an AI agent behaves, what it can and cannot do, and how it responds across interactions. Unlike general prompt engineering (which optimizes individual queries), this skill covers the persistent behavioral layer that shapes an agent's identity, capabilities, and constraints.

When to use: Writing system prompts for AI products, defining agent personas for customer-facing tools, specifying behavioral guardrails, crafting tool-use guidance, or designing multi-step agent workflows.

When NOT to use: One-off prompt optimization (use the prompt skill), fine-tuning or training-time configuration, infrastructure-level safety (use model provider safety features), or tasks that do not involve LLM agent behavior.

Quick Reference

PatternPurposeKey Points
Identity blockDefine who the agent isRole, expertise, communication style
Capability declarationState what the agent can doExplicit tool list, domain boundaries
Constraint specificationDefine behavioral boundariesHard limits, soft preferences, escalation rules
Output format rulesEnsure consistent response structureTemplates, progressive disclosure, length limits
Tool use instructionsGuide when and how to use toolsSelection criteria, error handling, sequencing
Multi-turn behaviorHandle conversation continuityContext tracking, topic switching, memory
GuardrailsPrevent harmful or out-of-scope behaviorContent boundaries, instruction hierarchy
Escalation triggersDefine when to hand off to humansConfidence thresholds, scope boundaries

Common Mistakes

MistakeCorrect Pattern
System prompt over 4000 tokensKeep under 2000 tokens, move details to reference docs
Contradictory instructionsAudit for conflicts, establish priority order
Vague persona ("be helpful")Specific: expertise domain, response style, knowledge bounds
No escalation pathDefine when agent should defer to human or say "I don't know"
Listing every edge caseState principles, provide examples for ambiguous cases only
Mixing identity and task instructionsSeparate: identity block first, task instructions second
No output format specificationDefine structure: headings, lists, code blocks, length
Tool instructions without error handlingInclude fallback behavior when tools fail or return errors
Testing only happy-path inputsTest adversarial, off-topic, and edge case inputs
Deploying without versioningTrack system prompt versions, log changes, enable rollback

Delegation

  • Prompt technique exploration: Use Explore agent to research patterns
  • System prompt testing: Use Task agent to run adversarial test suites
  • Code review: Delegate to code-reviewer agent for integration code
If the prompt skill is available, delegate general prompt engineering techniques (CoT, few-shot, structured output) to it.
Otherwise, recommend: pnpm dlx skills add oakoss/agent-skills -s prompt -a claude-code -y

References

  • System prompt design: anatomy, personas, tools, and multi-turn behavior
  • Guardrails and testing: behavioral boundaries, versioning, and production readiness

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.