Agent skill

Productive Failure Protocol

by GarethManning in GarethManning/education-agent-skills

Stage exploration before instruction on complex problems. An agent skill from GarethManning/education-agent-skills.

Custom licenceAuto-check passedAI & LLM Engineering

Install Productive Failure Protocol

skills CLI
$ npx skills add GarethManning/education-agent-skills --skill productive-failure-protocol -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GarethManning/education-agent-skills productive-failure-protocol --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GarethManning/education-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/student-learning/productive-failure-protocol .claude/skills/productive-failure-protocol && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
productive-failure-protocol
GitHub stars
840
Token cost
~4.3k tokens
SKILL.md length
1,226 words
Files
1
Skills in repo
160
Repo updated
First seen
Licence
Custom licence

At a glance

Stage exploration before instruction on complex problems. An agent skill from GarethManning/education-agent-skills.

  • Works in 4 steps: Productive failure works for conceptual… → The two-attempt requirement is a design… → Consolidation quality is critical and… → …
  • Genuinely hard problems where struggle produces deeper learning
  • SKILL.md covers What This Skill Does, Evidence Foundation, System Prompt and Example Transcript, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Productive Failure Protocol is an agent skill from GarethManning/education-agent-skills. Stage exploration before instruction on complex problems. The learner produces two attempted approaches before consolidation — which builds on those attempts, not from scratch. Use for genuinely hard problems where struggle produces deeper learning.

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. The repository describes itself as: 165 evidence-grounded AI skills for teachers, school leaders and EdTech builders—pedagogy, learning science, curriculum, assessment and regeneration. Claude, Codex and Hermes.

When your agent uses it

  • Genuinely hard problems where struggle produces deeper learning

Example prompts

  • “/productive-failure-protocol”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Productive failure works for conceptual learning; it is not well-evidenced for all learning types. Kapur's studies focus on mathematics…
  2. The two-attempt requirement is a design minimum, not a guarantee of productive struggle. A learner who produces two very similar attempts…
  3. Consolidation quality is critical and difficult. Kapur (2016) is explicit: productive failure only works when the consolidation explicitly…
  4. This skill requires more time than direct instruction. Two exploration phases plus consolidation may take 2–3x as long as a standard…

What it can do on your machine

Read from SKILL.md and the folder at commit 6bbbce4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Productive Failure Protocol loads about 4.3k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 1,226 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,226 words (~4,309 tokens).

“For novel or complex problems, stages exploration before instruction. The learner must produce at least two attempted approaches and explain why each might or might not work before receiving consolidation. The consolidation — when it comes — explicitly references and…”

— opening of SKILL.md by GarethManning, Custom licence
name
productive-failure-protocol
disable-model-invocation
false
user-invocable
true
effort
medium
skill_id
student-learning/productive-failure-protocol
skill_name
Productive Failure Protocol
domain
student-learning
domain_number
20
version
1.0
audience
student
evidence_strength
strong

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/student-learning/productive-failure-protocol of GarethManning/education-agent-skills.

Open the folder on GitHubat commit 6bbbce4

Compare with similar skills

Productive Failure Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Productive Failure Protocol compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Productive Failure Protocol this skillGarethManning/education-agent-skills840—~4.3kAutomated safety check: PassCustom licence
Agent BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
Add Uint Supportpytorch/pytorch104k2 repos~2.3kAutomated safety check: PassCustom licence
LLM Benchmarking with lm-evaluation-harnessOrchestra-Research/AI-Research-SKILLs13k8 repos~3kAutomated safety check: PassMIT
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k8 repos~3.3kAutomated safety check: PassMIT
1passwordtrpc-group/trpc-agent-go1.9k14 repos~656Automated safety check: PassApache-2.0

Similar skills

  • Agent Builder

    shareAI-lab/learn-claude-code

    Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • LLM Benchmarking with lm-evaluation-harness

    Orchestra-Research/AI-Research-SKILLs

    Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.

    13k GitHub starsUsed in 8 repos~3k tokens
    AI & LLM EngineeringAuto-check passed
  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 8 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • 1password

    trpc-group/trpc-agent-go

    Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.

    1.9k GitHub starsUsed in 14 repos~656 tokens
    AI & LLM EngineeringAuto-check passed
  • Planning With Files

    jarrodwatts/claude-code-config

    Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage.

    1.1k GitHub starsUsed in 5 repos~967 tokens
    AI & LLM EngineeringAuto-check passed

More from GarethManning/education-agent-skills

All 160 skills in this repo
  • Academic Language Sentence Frame Generator

    GarethManning/education-agent-skills

    Generate tiered sentence frames for academic tasks that scaffold language production across proficiency levels.

    840 GitHub stars~5.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Adaptive Hint Sequence Designer

    GarethManning/education-agent-skills

    Generate a cascading hint sequence for a problem type, revealing progressively without giving answers.

    840 GitHub stars~5.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Agency Circles For Systems Action

    GarethManning/education-agent-skills

    Map control, influence, and concern after systems analysis. An agent skill from GarethManning/education-agent-skills.

    840 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Agency Scaffold Generator

    GarethManning/education-agent-skills

    Generate scaffolds that gradually increase student choice, voice, and ownership within a learning task.

    840 GitHub stars~5.6k tokensUpdated 1 mo ago
    Auto-check passed
  • AI Expertise Interrogation Designer

    GarethManning/education-agent-skills

    Design a Funhouse Mirror activity where students use their own domain expertise to detect AI distortions, omissions, and overconfidence.

    840 GitHub stars~5.8k tokensUpdated 1 mo ago
    Auto-check passed
  • AI Feedback Design Principles

    GarethManning/education-agent-skills

    Audit and redesign AI-generated feedback for pedagogical quality, timing, and learning impact.

    840 GitHub stars~5.8k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Productive Failure Protocol

What does Productive Failure Protocol do?

Stage exploration before instruction on complex problems. An agent skill from GarethManning/education-agent-skills. Productive Failure Protocol is an agent skill from GarethManning/education-agent-skills. Stage exploration before instruction on complex problems.

When should I use Productive Failure Protocol?

Productive Failure Protocol fits situations like: genuinely hard problems where struggle produces deeper learning.

How do I install Productive Failure Protocol in Claude Code?

Run `npx skills add GarethManning/education-agent-skills --skill productive-failure-protocol -a claude-code`. Or copy the skill folder (skills/student-learning/productive-failure-protocol in GarethManning/education-agent-skills) into .claude/skills/productive-failure-protocol in your project. Claude Code loads it when a task matches its description.

How do I install Productive Failure Protocol in Codex?

Run `npx skills add GarethManning/education-agent-skills --skill productive-failure-protocol -a codex`. Or copy the skill folder (skills/student-learning/productive-failure-protocol in GarethManning/education-agent-skills) into .agents/skills/productive-failure-protocol in your project. Codex loads it when a task matches its description.

Can I use Productive Failure Protocol in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GarethManning/education-agent-skills --skill productive-failure-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/productive-failure-protocol, .gemini/skills/productive-failure-protocol, .github/skills/productive-failure-protocol and .opencode/skills/productive-failure-protocol in your project.

What does Productive Failure Protocol need to run?

SKILL.md names no scripts, command-line tools or credentials: Productive Failure Protocol is instructions for the agent only.

Does Productive Failure Protocol access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Productive Failure Protocol safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Productive Failure Protocol use?

Productive Failure Protocol has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Productive Failure Protocol use?

About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Productive Failure Protocol?

Skills that share tags, products or a category with Productive Failure Protocol: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Add Uint Support (pytorch/pytorch, 104k stars), LLM Benchmarking with lm-evaluation-harness (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Productive Failure Protocol?

GarethManning (a GitHub user) maintains it in GarethManning/education-agent-skills, which has 840 GitHub stars. The repository holds 160 skills in this directory. The repository was last updated on August 28, 2026.

Source: GarethManning/education-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.