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
Move the longer examples and situational patterns:
Requests
Scheduling
Apologies and delays
Disagreement and pushback
Decisions
Follow-ups
Technical explanations
Executive/stakeholder messages
Recruiter replies
Support resolutions
The core skill could say: “Read message-patterns.md when the message has a specific situational pattern.”
editing-and-review.md
Move:
The existing-draft rewrite sequence
The final review checklist
Rules for preserving facts, names, links, and commitments
Guidance on keeping necessary warmth and political judgment
language-guide.md
Move:
Preferred phrases
User
use a worker to implement the changes
User
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:
Implement the write-like-me refactor in /Users/sofianebebert/workspace/sof-pi. You are the sole writer in the shared cwd; do not modify unrelated skills.
Goal: refactor skills/write-like-me/SKILL.md (currently ~303 lines) into a concise always-loaded core with progressive disclosure, preserving Sofiane's specific voice and behavior.
Required:
Keep SKILL.md as a compact entry point, retaining when-to-use, durable core voice, default message shape, key rules (clarity, facts/commitments, natural contractions, no corporate/AI filler, constructive disagreement, recipient-appropriate formality), output behavior, and a concise final quality gate.
Add references under skills/write-like-me/references/, with sensible files such as message-patterns.md, editing-and-review.md, and language-guide.md. Move longer situational patterns/examples, editing workflow, greeting/sign-off rules, preferred/avoided language, and detailed review checklist into references. The main skill must explicitly direct the agent to read relevant references based on message type or rewrite task.
Preserve important personal preferences and examples: Hi/Hey defaults, no more than one acknowledgment sentence, sign-off choices, no em dashes/emoji, avoid over-polish/excess enthusiasm/repeated apologies/stacked hedges, clear but constructive disagreement, preserve political judgment, and return only the finished draft unless commentary is requested.
Preserve all situational patterns: request, scheduling, apology/delay, disagreement/pushback, decision, follow-up, technical explanation, executive/stakeholder, recruiter/opportunity, support resolution.
Make the iteration loop explicit: recurring edits/preferences should update the relevant reference and version metadata; do not turn one-off rewrites into general rules.
Keep frontmatter description accurate. Update README.md only if the public description needs changing; otherwise leave it.
Do not silently change behavioral guidance.
After editing, inspect every changed file. Run git diff --check; verify every relative Markdown link in SKILL.md and references resolves; confirm the main SKILL.md is substantially shorter and all ten situational patterns plus key preferences remain present. Do not commit. Report changed files, line counts, and validation results.
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
SKILL.md: 62 lines, reduced from approximately 303
message-patterns.md: 118 lines
editing-and-review.md: 33 lines
language-guide.md: 70 lines
Validation:
All four changed files inspected.
git diff --check passed.
All relative Markdown links resolve.
Confirmed all ten situational patterns are present.
Confirmed required preferences remain present, including greeting defaults, acknowledgment limit, sign-offs, no em dashes/emoji, constructive disagreement, political judgment, and draft-only output behavior.
Confirmed no staged files.
No tests were added; this is Markdown-only guidance.
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.
Phrases to avoid
Greeting and sign-off rules
Corporate filler and generic AI language
Preserve the important personal details
I would not flatten this into generic “professional writing” advice. These are valuable personal preferences and should remain prominent:
Hi [Name], as the default
Hey [Name], for informal contacts
No more than one acknowledgment sentence
Best, Best regards, or Thanks depending on context
No em dashes or emoji
Avoid excessive polish, enthusiasm, apologies, or hedging
Be clear when disagreeing
Preserve political judgment rather than making everything blunt
Return the finished draft without a style explanation
Make the iteration loop explicit
The current skill captures observed failure patterns such as:
AI-sounding filler
Over-polished language
Weak disagreement
Excessive apologies
Generic closings
I’d add a short section like:
When to update this skill: if Sofiane repeatedly edits out a phrase, changes a formality rule, prefers a different sign-off, or rejects a recurring pattern, update the relevant reference with the durable preference. Do not encode a one-off rewrite as a general rule.
That would make it clearer how the skill should evolve without turning every individual edit into a new instruction.
What I would not do
I would not remove the examples entirely. They are useful for voice imitation. I’d move them behind progressive disclosure so every writing task does not load all nine situational patterns and every phrase rule upfront.
The result would be a smaller core skill with the same voice, fewer rigid instructions, and detailed examples available only when the message type requires them.
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.
{
"criteriaSatisfied": [
{
"id": "criterion-1",
"status": "satisfied",
"evidence": "Refactored only skills/write-like-me into a 62-line core plus three progressive reference files; no unrelated skills or README content changed."
}
],
"changedFiles": [
"skills/write-like-me/SKILL.md",
"skills/write-like-me/references/message-patterns.md",
"skills/write-like-me/references/editing-and-review.md",
"skills/write-like-me/references/language-guide.md"
],
"testsAddedOrUpdated": [],
"commandsRun": [
{
"command": "git diff --check",
"result": "passed",
"summary": "No whitespace errors."
},
{
"command": "Python relative Markdown link verification",
"result": "passed",
"summary": "Checked 4 Markdown files; all relative links resolve."
},
{
"command": "Python required-content verification",
"result": "passed",
"summary": "All ten situational patterns and required preferences are present."
},
{
"command": "git diff --cached --name-only",
"result": "passed",
"summary": "No staged files."
}
],
"validationOutput": [
"SKILL.md reduced from approximately 303 lines to 62 lines.",
"All ten situational patterns are preserved in message-patterns.md.",
"Voice, editing, language, and iteration guidance remain represented.",
"Changed files were inspected after editing."
],
"residualRisks": [
"The refactor is documentation-only and has no automated behavioral test coverage."
],
"noStagedFiles": true,
"diffSummary": "Replaced the monolithic write-like-me skill with a concise core and progressive message-pattern, editing/review, and language references.",
"reviewFindings": [
"no blockers"
],
"manualNotes": "README was left unchanged because the public skill description remains accurate."
}