agentleFS
AWSKnown publisherawslabs/agent-plugins/plugins/sagemaker-ai/skills/planning/SKILL.md

planning

Skill910 starsChanged 9 months agoApache-2.0View on GitHub

Discovers user intent and generates a structured, step-by-step plan for model customization workflows. This skill must always be activated alongside any other skill when the user's request relates to model customization — including fine-tuning, training, building, customizing, reviewing data, or getting advice on approach, regardless of domain. Do not skip this skill even if the immediate ask is narrow (e.g., reviewing data format or a single workflow step), because planning discovers the full scope of work needed. Also activate when the user wants to resume, continue, or modify an existing plan.

43 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use executing, media-processing and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LucasDuysSkill

    executing

    Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier

    Also in 3 projects that use this

  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 3 projects that use this

  • mrgoonieSkill

    repomix

    Package entire code repositories into single AI-friendly files using Repomix. Capabilities include pack codebases with customizable include/exclude patterns, generate multiple output formats (XML, Markdown, plain text), preserve file structure and context, optimize for AI consumption with token counting, filter by file types and directories, add custom headers and summaries. Use when packaging codebases for AI analysis, creating repository snapshots for LLM context, analyzing third-party libraries, preparing for security audits, generating documentation context, or evaluating unfamiliar codebases.

    Also in 3 projects that use this

  • truongtv22Skill

    mobile-development

    Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.

    Also in 3 projects that use this

  • ShopifySkill

    shopify

    Build anything on Shopify. One skill covering every Shopify developer surface: Use Shopify CLI, Admin API, ShopifyQL, Storefront GraphQL API, Partner API, Customer Account API, Payments Apps API, Shopify Functions, Polaris App Home, Polaris Admin Extensions, Polaris Checkout Extensions, Polaris Customer Account Extensions, POS UI, Hydrogen, Liquid, Custom Data, Shopify App Pricing, App Store Review, Developer Onboarding, Merchant Onboarding. Use it for any Shopify API, extension, theme, storefront, function, or CLI task — writing or explaining code, looking up operations, fields, components and valid values, validating generated code, and choosing which surface a request belongs to. Also use it when someone asks to make, build, open, or set up a store or shop that sells something, and when a prompt mentions or asks for any of: metafields or metaobjects, make me a store that sells pet supplies, mock.shop reference stores, build a storefront without an account — even without saying Shopify.

    Also in 3 projects that use this

  • AnthropicSkill

    memory-management

    Two-tier memory system that makes Claude a true workplace collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Claude understands requests like a colleague would. CLAUDE.md for working memory, memory/ directory for the full knowledge base.

    Also in 3 projects that use this

  • +4 more from mrgoonie

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 14 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Surface constraints early: If a user decision would constrain downstream options, flag it before the plan is finalized.

    line 11
  2. Distinctive:

    Keep plans short: Only include tasks that are necessary for the user's stated goal.

    line 12
  3. Distinctive:

    Don't ask what you already know: Check conversation history and project files before asking the user.

    line 13
  4. Very specific:

    Read references/input-output-contracts.md, references/model-customization-plan.md, and references/evaluate-first-plan.md to:

    line 21
  5. Distinctive:

    Check whether the user has the necessary input artifacts for each skill.

    line 24
  6. Distinctive:

    Check if a recommended workflow matches the user's needs.

    line 26
  7. Distinctive:

    Use the Restrictions column of the contracts table to flag constraints as soon as the relevant decision is made.

    line 33
  8. Distinctive:

    If a restriction applies, check whether it requires changes to other steps in the plan.

    line 36
  9. Very specific:

    Do NOT ask the user about base model selection or preferences.

    line 37
  10. Distinctive:

    Only offer capabilities covered by an available skill.

    line 67
  11. Distinctive:

    If the user already has input artifacts (e.g., a trained model), skip the steps that produce them.

    line 69
  12. Very specific:

    When the user approves the plan, write it to PLAN.md and save it under the project directory structure defined by the directory-management …

    line 71
  13. Very specific:

    Update PLAN.md whenever a task's status changes.

    line 87
  14. Distinctive:

    If the user suggests changes, regenerate the plan incorporating their feedback.

    line 95
  15. Distinctive:

    If the user approves, begin execution by handing off to the first task's skill.

    line 96
  16. Very specific:

    Before starting a task, update its status in PLAN.md to 🔄 (In Progress).

    line 104
  17. Very specific:

    If the task maps to a skill, load that skill's full SKILL.md before doing any work.

    line 105
  18. Distinctive:

    When the task completes:

    line 107
  19. Very specific:

    Update its status in PLAN.md to ✅ (Completed).

    line 108
  20. Distinctive:

    If the user interrupts with a new request mid-execution:

    line 117
  21. Distinctive:

    When all tasks in the plan are done: Present to the user:

    line 126

“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Principles

  • One question at a time. Each question should resolve a branching decision in the plan. Avoid generic or out-of-domain questions.
  • Surface constraints early. If a user decision would constrain downstream options, flag it before the plan is finalized.
  • Keep plans short. Only include tasks that are necessary for the user's stated goal.
  • Don't ask what you already know. Check conversation history and project files before asking the user.

Phase 1: Brainstorming

Goal: Understand what the user wants to accomplish and identify which skills belong in the plan.

Read references/input-output-contracts.md, references/model-customization-plan.md, and references/evaluate-first-plan.md to:

  • Identify which skills could be relevant to the user's stated goal.
  • Check whether the user has the necessary input artifacts for each skill. If not, find the skills that generate those inputs and add them first.
  • Order skills to allow a smooth transition from one to the next and avoid dead ends.
  • Check if a recommended workflow matches the user's needs. If not, assess what modifications are needed and verify they are possible against the contracts table.
  • Decide which skills in a matching workflow can be skipped.
  • Surface limitations early — if a user decision (model choice, region, evaluation method) would constrain downstream options, mention it proactively, get user feedback, and adapt the plan accordingly.

During brainstorming:

  • Workflow choice gate: Before generating any plan, determine whether the user wants the evaluate-first workflow or the direct fine-tuning workflow. If the user has explicitly chosen (e.g., "evaluate first", "skip evaluation", "already evaluated the base model"), proceed with their choice. Otherwise, present both options with brief pros/cons and ask the user to choose. Saying "fine-tune" or naming a technique alone is NOT an explicit choice to skip evaluation — the user may not know evaluate-first is an option. Do NOT present a plan until the user has chosen a path. After they choose, read ONLY the corresponding reference plan.
  • Use the Restrictions column of the contracts table to flag constraints as soon as the relevant decision is made. Examples (non-comprehensive list, check contracts table for the full picture):
    • User picks a Nova model → alert that deployment regions are limited.
    • User picks a region → alert if it conflicts with model availability.
  • If a restriction applies, check whether it requires changes to other steps in the plan.
  • Do NOT ask the user about base model selection or preferences. Model selection is handled exclusively by the model-selection skill.
  • Move to Phase 2 as soon as you can determine which skills and tools the plan needs.

Phase 2: Plan Generation

Goal: Propose a structured plan for the user to review.

Generate a plan as a numbered list of tasks. Each task has:

  • A short name
  • A one-sentence description of what happens
  • Which skill handles it (if applicable)

Format:

Based on what you've described, here's what I propose:

1. ⬜ **[Task Name]** — [What happens]. *(Skill: [skill-name])*
2. ⬜ **[Task Name]** — [What happens]. *(Skill: [skill-name])*
3. ⬜ **[Task Name]** — [What happens]. *(Skill: [skill-name])*

Does this plan look right, or would you like to change anything?

Rules for plan generation:

  • Infer ordering from the Prerequisites column in the contracts table — a skill cannot appear before its prerequisites. If unsure, consult references/skill-routing-constraints.md.
  • Only offer capabilities covered by an available skill. If the user needs something no skill supports, say so.
  • Tailor the plan to the user's actual intent. Not every plan needs every skill.
  • If the user already has input artifacts (e.g., a trained model), skip the steps that produce them.

When the user approves the plan, write it to PLAN.md and save it under the project directory structure defined by the directory-management skill.

# Plan

1. ⬜ **[Task Name]** — [Description]. _(Skill: [skill-name])_
2. ⬜ **[Task Name]** — [Description]. _(Skill: [skill-name])_
3. ⬜ **[Task Name]** — [Description]. _(Skill: [skill-name])_

Status indicators:

  • ⬜ Not Started
  • 🔄 In Progress
  • ✅ Completed

Update PLAN.md whenever a task's status changes.


Phase 3: Plan Iteration

Goal: Refine the plan until the user approves it.

  • If the user suggests changes, regenerate the plan incorporating their feedback.
  • If the user approves, begin execution by handing off to the first task's skill.

Execution

Once the plan is approved:

  1. Before starting a task, update its status in PLAN.md to 🔄 (In Progress).
  2. If the task maps to a skill, load that skill's full SKILL.md before doing any work. Do not attempt the task from general knowledge — always defer to the skill's instructions.
  3. Execute the task by following the loaded skill's workflow.
  4. When the task completes:
    • Update its status in PLAN.md to ✅ (Completed). If the task generated output files (scripts, notebooks, manifests), record the file paths under the completed task:

      - [x] Fine-tune model
        - Output: `scripts/01_sft_finetuning.py`
        - Output: `manifests/sft-llama-20260515.json`
    • Briefly confirm completion and move to the next task.
  5. If the user interrupts with a new request mid-execution:
    • Completed tasks are immutable — do NOT modify them.
    • Regenerate the remaining tasks to incorporate the user's new input.
    • Present the updated remainder for approval before continuing.

Plan Completion

When all tasks in the plan are done: Present to the user:

"We've completed everything in the plan. What would you like to do next?"

This re-enters Phase 1 (Brainstorming) for a new goal. There is no terminal state — the conversation continues as long as the user wants.


References

Load the reference plan that matches the customer's intent, then adjust based on their needs.

  • references/evaluate-first-plan.md — The evaluate-first workflow: evaluate a base model before deciding whether to fine-tune.
  • references/model-customization-plan.md — The direct fine-tuning plan. Use when the user has explicitly committed to fine-tuning.
  • references/input-output-contracts.md - A table showing all skills, required inputs, produced outputs, prerequisites, and constraints.
  • references/skill-routing-constraints.md — Optional supplemental resource about Mandatory inclusion rules, ordering constraints, and skill boundary rules.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.