agentleFS
hidenobunagaihidenobunagai/astack/skills/astack-help/SKILL.md

astack-help

Skill1 starsChanged 11 days agoMITView on GitHub

Help a user pick the right astack skill, analyst-mode playbook, or principle for a data analysis task, such as EDA, a metric move, a notebook, a pipeline, or a chart, and word a first prompt for /astack:analyst-mode. Use for /astack:astack-help or when the user asks which skill to use.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start an analysis with /astack:analyst-mode

    line 19
  2. Distinctive:

    Check the repo state that changes the answer.

    line 24
  3. Very specific:

    Start a real analysis with /astack:analyst-mode, a question, the data source, and a check that can pass or fail.

    line 33
  4. Very specific:

    If cost is the worry, say where the tokens go.

    line 37
  5. Very specific:

    If the mode drifts after several turns, type /astack:analyst-mode again with the task.

    line 43
  6. Distinctive:

    Ask analyst-mode to author a skill for a workflow the user repeats.

    line 139

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

astack help

Answer the user's question about astack, give them a prompt they can send, and point to the file the answer came from. This is a help question, so do not start the analysis. A run spends real tokens, so let the user send the prompt.

A message that asks for work, such as "analyze why signups fell last week", is not a help question. The skill astack:analyst-mode runs that work, but it cannot load on its own. Tell the user to type /astack:analyst-mode <task>.

This file maps questions to skills and playbooks. Those files own the details. Read the file you route to before you quote it, and trust it when it disagrees with this map.

Find out what they need

Infer the need from the message and the conversation. A named situation, such as "which skill checks a join?", goes straight to its section. If the need is still unclear, ask one multiple-choice question with AskUserQuestion. Offer these options, then answer only the section they pick:

  • Get started
  • Start an analysis with /astack:analyst-mode
  • Pick a skill or playbook for a data task
  • Fix a run that went wrong
  • Make astack my own

Check the repo state that changes the answer. Mention it only when it matters:

  • No pyproject.toml or uv.lock in the analysis repo means the reproduction rules have no pinned environment yet. Offer uv init before the first re-run.
  • No .git directory means the folder is not a git repo. The PR steps need git init first. A remote is optional.
  • No formal verification skill in the project means no property is checked past what tests reach. Mention /astack:create-formal-verification-skill when the question is about a race, an invariant, or another case tests rarely hit. When one exists and the code it covers changed after the commit it records as last in sync, mention /astack:maintain-formal-verification-skill if the question touches that code.

Get started

  1. Install the astack plugin the way your Claude Code setup installs plugins.
  2. Start a real analysis with /astack:analyst-mode, a question, the data source, and a check that can pass or fail.

Installing changes nothing until the user types a skill. Most astack skills load only when the user types /astack:<name>, or when analyst-mode runs them. The principle skills (principle-*) can also load on their own when their description fits the work.

If cost is the worry, say where the tokens go. Analyst-mode spends extra tokens on subagents and review panels. Use /astack:analyst-mode for work that needs rigor. A question you can answer with one query needs no mode at all.

Start a task with /astack:analyst-mode

Analyst-mode matches the task to a playbook, copies the playbook's steps into the todo list, and runs the other skills as the steps need them. A step it skips stays in the list as skip: <reason>. A good prompt states the question, the grain or data source, and the done check. It does not list skills, because a hand-written order tends to drop steps. Read references/prompting.md before you help word a prompt. Example prompts are in references/recipes.md.

If the mode drifts after several turns, type /astack:analyst-mode again with the task. Say "new task" when the subject changes, so the mode does not treat the message as the next step of the last one.

Pick a skill

The default answer is /astack:analyst-mode, which runs most of the other skills when its playbook needs them. Name a skill directly when the user wants more or less of something than the playbook gives. Read the skill before you recommend it, and give one example prompt.

The user wants toSkill
Do any non-trivial analysis with rigor/astack:analyst-mode
Check that the agent understood the question and the decision before it queries/astack:in-your-own-words
Sharpen a vague analysis ask before starting/astack:sharpen
Know how a pipeline, notebook, or module works now, or where new code should live/astack:how
Know why a metric or filter is defined this way, or where a number came from/astack:why
Pick a statistical method for a retail question: an A/B or store test, a promotion effect, uplift targeting, segments, churn or CLV, a survey or conjoint, a regression, a forecast, anomaly detection, media mix, trade areas, price elasticity, assortment, baskets, or manufacturer marketing (brand share, switching, new products, trade promotions, retail media)/astack:retail-analytics
Understand a pipeline, model, metric, or dashboard in plain terms/astack:teach
Catch up on their own recent analysis work on a topic/astack:recall
Catch up on what changed in this chat since their last message/astack:catch-up
Find what a change to a table, column, or metric could break downstream/astack:blast-radius
Settle table shapes and module shape before code that crosses a function boundary/astack:architect
Get several attempts at one analysis merged into the best one/astack:arena
Run parallel checks over data slices or datasets, and get one report/astack:swarm
Have different models review an analysis and try to break it/astack:interrogate
Fix a wrong number test-first when a cheap local test exists/astack:tdd
Formally verify a race, invariant, or other property that tests rarely reach/astack:create-formal-verification-skill
Bring a formal verification back in line after the code it covers changed, and learn whether a failure is drift or a bug/astack:maintain-formal-verification-skill
Show a state machine or flow as a chart checked by a TLA+ model, with the shortest path to each state that breaks a rule/astack:statechart
Vet a runtime measurement before reporting a speedup/astack:benchmark-checklist
Run a large or cross-cutting analysis, or one a human reviews after stepping away/astack:figure-it-out
Keep a decision log during a long or unattended run/astack:show-me-your-work
Turn what a finished task taught into skill edits/astack:reflect
Stop agents from repeating the same mistake in this repo/astack:correct
Strip comments from code or notebooks before review/astack:no-comments
Clean AI tells out of prose, such as a report or a chart caption/astack:unslop
Write docs, methods notes, a readme, a PR description, or a commit message to a standard/astack:technical-writing
Hear the last reply again in plain words/astack:plain-words

Close calls:

  • how explains the data flow and the code. why explains the reasons and the history. teach runs one or both and explains the result plainly.
  • arena gives every worker the same brief and merges the best parts. swarm splits work into slices or a race and returns one report.
  • architect settles shapes before the code. The prototype playbook builds a throwaway sketch to settle a design by running it.
  • recall rebuilds context across recent chats. catch-up covers only this chat since the user's last message.

Pick a playbook

Playbooks are step lists inside /astack:analyst-mode. They have no slash command. Describe the task, and analyst-mode picks one. These are the routes:

The user wants toPlaybook
Get a cited answer to a read-only questioninvestigation
Know why a metric movedmetric-investigation
Take a first look at a dataset they have not seeneda
Run checks on a dataset or pipeline outputdata-quality-check
Fix a wrong number, a broken pipeline, or a failing notebookbug-fix
Speed up a slow query, transform, or notebookperf-issue
Push one metric up over many attemptshillclimb
Build new analysis code, a transform, or a pipeline stepfeature
Restructure code with the output unchangedrefactoring
Settle a design or a fork with a throwaway sketchprototype
Turn an exploratory notebook into a re-runnable scriptnotebook-to-pipeline
Design, render, and check a chart or dashboardvisualization
Plan work that spans phases or stacked PRs, without implementing itmulti-phase-plan
Drive one long task to a checkable finishautonomous-run
Stop cleanly with a resume checkpointpause-safely
Resume another agent's work from its transcript or branchsession-pickup
Write or edit a SKILL.mdauthoring-a-skill

Close calls:

  • investigation answers a question with evidence and changes nothing. metric-investigation decomposes one metric's move. eda profiles a dataset with no question yet.
  • tdd is a test-first fix for one wrong number with a cheap local test. data-quality-check is a standing set of checks on data or pipeline output.

Principles

The principle skills are one-rule skills that analyst-mode reads and cites in its replies. The user rarely types them. They steer with the names instead, as in "apply prove it works, show me the real output." Typing a principle's slash command, such as /astack:principle-prove-it-works, loads that one on demand.

Fix a run that went wrong

SymptomFix
The mode stopped applying after a few turnsType /astack:analyst-mode again with the task.
A question got treated as the next step of the last taskSay "new task", or say the turn does not need the mode.
A number came with no row count or baselineAsk for the row counts before and after each join, and the baseline, per explain-the-number.
A notebook result changed on re-runSend a run request for two clean runs that print checksums, per reproduce-from-clean-state.
Parallel agents overwrote each otherGive each writer its own worktree (isolation: "worktree", or git worktree add <path>).
Runs cost more than expectedSee the cost paragraph under Get started.
The reply claims success from a green checkAsk for the actual output values, not the status. That is the prove-it-works principle.
An overnight run moved but finished nothingGive it a check that can pass or fail, not a duration. Use /astack:show-me-your-work to audit it.
A skill did not load on its ownMost skills load only when typed as /astack:<name>, or when analyst-mode runs them.

For a run that drifts, references/prompting.md has one-line steers.

Make astack my own

  • /astack:reflect after a session turns its lessons into skill edits that the user approves.
  • /astack:correct makes a repeated mistake impossible in this repo, starting with architecture, then types, then a check.
  • Ask analyst-mode to author a skill for a workflow the user repeats. It runs the authoring-a-skill playbook.
  • Fix a misbehaving skill in its own PR, not inside the analysis where it went wrong.

Reply

Lead with the answer. Give at most one example prompt in a code block, adapted from references/recipes.md when one fits. Then name the file the answer came from. Keep it short unless the user asked for the whole map.

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.