The article’s central argument is that effective agent skills are not exhaustive procedures or prompt scripts. They are compact capsules of institutional knowledge that help agents avoid repeatedly making the same mistakes. citeturn0search0
1. Write skills from observed failures
Don’t begin by imagining every situation an agent might encounter. Let the agent perform the task, observe where it struggles, and create a skill to address recurring failures, wasted effort, or inconsistent decisions.
2. Capture goals and constraints—not every step
A good skill should explain:
The desired outcome
Important constraints and guardrails
Non-obvious context the agent could not infer from the repository or conversation
It should generally avoid prescribing every implementation step. Agents need room to adapt their approach to the specific task.
3. Keep skills short and durable
Overly detailed skills become brittle. File paths, tool commands, and process steps change; once a skill is outdated, it can actively mislead the agent. Focus on knowledge that is likely to remain useful over time.
4. Use progressive disclosure
Put the essential guidance first. Keep advanced details, edge cases, and optional context available only when relevant. This reduces cognitive and context-window overhead.
5. Treat skills as living documentation
Skills should evolve based on how agents actually behave. Review where agents fail or spend unnecessary tokens, then refine the relevant skill rather than adding instructions indiscriminately.
6. Be selective about creating skills
Not every repeated task deserves a skill. A skill is most valuable when:
The problem occurs frequently
The underlying guidance is stable
The cost of agent mistakes is meaningful
The knowledge is not already clear in code, tests, or documentation
For rapidly changing processes, ordinary documentation, tooling, or automated checks may be better.
Bottom line
A useful skill is a focused, reusable memory of durable goals, constraints, and hard-won context—not a giant instruction manual. Start with real agent failure modes, encode only what the agent cannot reliably infer, and keep iterating based on results.
User
Use scouts to review skills in this pi extension against the above points. Mark each skill against the 6 rubrics
Assistant
Skills review
Scouts reviewed all 14 packaged skills against the six article-derived rubrics. Ratings are 1–5:
Observed failures — grounded in real failure modes or recurring pain
Goals / constraints — states outcomes and guardrails instead of prescribing every step
Short / durable — compact and focused on enduring knowledge
Progressive disclosure — essentials first, details when relevant
Living documentation — includes verification, feedback, or iteration mechanisms
Selective creation — avoids unnecessary actions, mutations, or over-automation
The observed-failure rating is based on evidence in the files, not repository history or agent-session data. It should be treated as inferred provenance.
Skill
Failures
Goals / constraints
Short / durable
Progressive disclosure
Living docs
Selective creation
background-terminals
2
4
5
4
3
5
browser
3
4
2
4
2
5
database-query
4
5
2
4
2
4
exe-dev
3
4
1
3
2
User
Use a worker to implement improvements for these 3
exe-dev: apply the feedback, we can remove the lifecycle commands
fly-io: remove the command level detail
stripe-projects: remove the classic stripe CLI material
Assistant
Implemented by a worker.
Changes
skills/exe-dev/SKILL.md
Reduced from 370 to 66 lines.
Removed lifecycle command tables, exhaustive flags, and deploy command recipes.
Preserved:
Lobby vs. direct VM SSH distinction
Authentication and host-key guidance
Deployment decision framework
HTTPS, sharing, domains, integrations, and API concepts
Safety constraints and official documentation links
skills/fly-io/SKILL.md
Reduced from 360 to 76 lines.
Removed command-level recipes and detailed command tables.
Preserved:
Authentication and targeting rules
Stripe Projects macaroon-token distinctions
Deployment decision flow
MPG, volumes, secrets, networking, regions, and safety guidance
Recurring Fly.io failure modes and reference links
skills/stripe-projects/SKILL.md
Removed the classic Stripe CLI section, including webhooks, resource CRUD, logs, raw API, and fixtures.
Removed classic CLI references from the reference section.
Updated the frontmatter description to cover only Stripe Projects.
README.md
Updated all three skill descriptions to match their reduced scopes.
Removed the classic Stripe CLI claim from the Stripe Projects entry.
Validation
git diff --check passed.
Confirmed no classic Stripe CLI material remains in skills/stripe-projects/SKILL.md or README.md.
No unrelated skills were modified.
Changes are uncommitted.
User
weekly-planning - what do you have in mind here?
Assistant
I’d treat weekly-planning differently from the infrastructure skills. Its length is partly justified because it contains valuable personal operating knowledge and lessons from previous planning cycles. I would not simply delete the detail.
The goal would be to turn it from a 417-line monolith into a concise skill with progressively disclosed references.
Proposed structure
1. Keep SKILL.md as the compact entry point
The main file would retain:
When to trigger Monday planning versus Friday retro
The overall objective:
Three project-anchored objectives by default
Reduce to two when capacity is constrained
Every objective links to one or more Tasks
The key database boundaries:
Projects = quarterly anchors
Tasks = weekly progress
Daily Work = execution records
The calendar-screenshot requirement and confirmation gate
The approval gates before creating Tasks or Daily Work rows
The most important safety rules:
Don’t overcommit capacity
Don’t blur the databases
Don’t auto-drop calendar events
Carry over non-complete work by default
A short Monday/Friday phase outline
Links to the detailed references
This would probably bring the core skill down to roughly 100–150 lines.
2. Move stable reference material into separate files
Task: You are a delegated subagent running from a fork of the parent session. Treat the inherited conversation as reference-only context, not a live thread to continue. Do not continue or answer prior messages as if they are waiting for a reply. Your sole job is to execute the task below and return a focused result for that task using your tools.
Task:
Repair the incomplete weekly-planning refactor in /Users/sofianebebert/workspace/sof-pi. Current issue: SKILL.md links to references/friday-retro.md, but that file is missing. Use git show HEAD:skills/weekly-planning/SKILL.md as the source of truth to reconstruct the complete Friday Retro Variant behavior into skills/weekly-planning/references/friday-retro.md.
Preserve all Friday behavior from the original, including triggers, phase 1 snapshot/diff logic, all-project reporting, Daily Work calculations and carryover candidates, report format, one-at-a-time questions, Wheel of Life exact areas/rules, approval/write gate, in-place carryover policy, local note update behavior, and any important failure-derived rules. Keep it reference-focused and avoid duplicating the compact SKILL.md unnecessarily. Ensure relative links are correct.
Then inspect the refactor for omissions or broken links. Run a script/check that every markdown link in skills/weekly-planning/SKILL.md and its references resolves. Run git diff --check and report changed files, line counts, and validation. Do not modify unrelated skills or commit.
Acceptance Contract
Acceptance level: checked
Completion is not accepted from prose alone. End with a structured acceptance report.
Criteria:
criterion-1: Implement the requested change without widening scope
Finish with a fenced JSON block tagged acceptance-report in this shape:
Use empty arrays when no items apply; array fields contain strings unless object entries are shown.
Empty-string entries ([""]) are ignored; use [] when nothing applies.
criteriaSatisfied[].status must be exactly one of: satisfied, not-satisfied, not-applicable.
commandsRun[].result must be exactly one of: passed, failed, not-run.
manualNotes and notes are optional strings; an empty string means no note and does not satisfy manual-notes evidence.
acceptance-report
Assistant
Implemented the missing Friday retro reference for the weekly-planning refactor.
Changed files
skills/weekly-planning/references/friday-retro.md
Reconstructed from git show HEAD:skills/weekly-planning/SKILL.md
Preserves:
Trigger phrases
Monday snapshot lookup and diff behavior
All-project progress reporting
Daily Work calculations and carryover candidates
Retro report format
One-question-at-a-time sequence
Exact Wheel of Life areas and rules
Approval/write gate
In-place carryover policy
Local note update/reconstruction behavior
Failure-derived rules such as missing-snapshot handling and passive project drift visibility
Uses correct relative links to the compact entry point and schema references.
Validation
Checked all Markdown links in SKILL.md and all reference files: all resolved.
tldraw-offline is the strongest overall operational skill. It documents concrete failures, establishes clear safety constraints, uses excellent progressive disclosure, and emphasizes verification and non-destructive behavior.
weekly-planning has the strongest failure history and iteration model. It explicitly captures lessons from previous planning cycles and preserves feedback through snapshots, retrospectives, carryover, and approval gates.
database-query is particularly strong on goals, safety, and failure-aware guidance.
mise does a good job distinguishing similar concepts—global versus project configuration, installation versus activation—and encourages inspection before mutation.
Main systemic weakness: size
The biggest issue across the extension is that several skills are closer to complete operational manuals than compact knowledge capsules.
Highest-priority candidates for reduction:
weekly-planning — 417 lines
exe-dev — 370 lines
fly-io — 360 lines
write-like-me — 303 lines
google-workspace — 298 lines
stripe-projects — 262 lines
browser — 238 lines
These skills often contain useful material, but the core guidance should be separated from command catalogs, detailed recipes, and rarely used edge cases.
Weakest rubric: living documentation
Most skills provide static guidance but do not explain how to improve themselves based on future usage. Only weekly-planning and, to a lesser extent, tldraw-offline have explicit feedback or verification loops.
Potential additions for other skills:
A short “When to update this skill” section
Common failure symptoms that should trigger a documentation update
A verification step after risky operations
A lightweight record of newly discovered CLI/API behavior
Skills needing the most attention
exe-dev — useful but very long and procedural; should lead with the lobby/VM model and move lifecycle command details elsewhere.
fly-io — strong constraints and failure knowledge, but too much command-level detail is loaded upfront.
stripe-projects — strong safety knowledge, but the catalog and classic Stripe CLI material dilute the core skill.
weekly-planning — excellent institutional memory, but the monolithic prompt should be split into a compact core plus phase-specific references.
write-like-me — strong goals and voice constraints, but 303 lines risks encoding preferences too rigidly and should distinguish durable voice principles from situational examples.
Overall assessment
The extension is strongest on:
Explicit goals and safety constraints
Capturing operational gotchas
Avoiding unnecessary mutation in most technical skills
It is weakest on:
Keeping skills compact
Separating core guidance from reference material
Recording how future failures should feed back into skill revisions
No files were changed as part of this review.
calendar-and-daily-work.md
Time-icon heuristic
Importance/urgency rules
Area inference
Bank holiday handling
The skill would instruct the agent to read the relevant reference only after identifying whether this is a Monday or Friday workflow.
3. Preserve the institutional memory
I would keep the strongest failure-derived rules, especially:
Calendar colour is not a reliable scope filter
Always confirm screenshot parsing before planning
No calendar access means a screenshot is required
Don’t collapse an objective into one “anchor task”
Don’t confuse Projects, Tasks, and Daily Work
Account for bank holidays and actual focus capacity
Don’t duplicate carryover rows
Monday snapshots enable Friday diffs
Include all in-progress Projects in the retro, not only selected objectives
These are exactly the sort of durable, non-obvious context the article recommends preserving.
4. Make the iteration loop explicit
The current skill already has a strong living-documentation mechanism. I’d make that more visible with a short section such as:
When this skill needs updating: if calendar parsing, capacity calculation, Notion schema, carryover behavior, or objective/task linking fails during a planning or retro session, record the failure in the relevant reference file and increment the metadata version.
That turns the existing snapshots and retrospectives into an explicit feedback loop.
What I would remove or consolidate
Repeated explanations of the same phase gates
Long command-level Notion instructions that are already covered by notion-cli
Duplicate descriptions of the database model
Repeated wording around approval and removal
Large inline output templates where a compact reference template would suffice
Exact examples that don’t encode a reusable rule
I would not remove:
The Wheel of Life model
The calendar confirmation gate
The capacity formula
The objective-to-Task requirement
The carryover policy
The Monday snapshot / Friday diff mechanism
The time-icon and Area heuristics
Expected result
The result would be:
A smaller always-loaded skill
Same planning behavior and safeguards
Better progressive disclosure
Easier updates when Notion schemas or planning preferences change
Clearer separation between durable principles and workflow-specific mechanics
The main tradeoff is that the agent would need to read one additional reference file during a planning session. That seems worthwhile here because the current cost is loading all Monday, Friday, schema, calendar, and retro details every time.