agentleFS
MicrosoftKnown publishermicrosoft/amplifier-bundle-skills/skills/session-debug/SKILL.md

session-debug

Skill12 starsChanged 3 months agoMITView on GitHub

Diagnose issues in the current Amplifier session — misconfigured tools, failing operations, unexpected behavior. Use when something isn't working right.

  • Reads credentials

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

4 rules. About 0 are common, 2 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no issue was described, read the session logs and summarize any errors, warnings, or notable issues.

    line 18
  2. Distinctive:

    Explain what you found in plain language: Avoid jargon. Tell the user:

    line 41
  3. Very specific:

    Run amplifier doctor for a system health check

    line 47
  4. Very specific:

    Check amplifier module list to verify module availability

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Debug: Session Diagnostics

Help the user diagnose an issue they're encountering in their current Amplifier session.

Issue Description

$ARGUMENTS

If no issue was described, read the session logs and summarize any errors, warnings, or notable issues.

Instructions

  1. Delegate to the session-analyst agent to investigate the current session. The session-analyst has specialized knowledge for safely analyzing large event logs (events.jsonl files can contain lines with 100k+ tokens that will crash other tools). Use the delegate tool to dispatch it with the issue description and any relevant context.
  2. Check session configuration. Review the current session's configuration for common issues:

    • Bundle composition problems (missing modules, failed loads)
    • Provider configuration (missing API keys, wrong endpoints)
    • Tool availability (tools expected but not mounted)
    • Hook failures (hooks that errored during lifecycle events)

    Session and project settings are typically at:

    • Project: .amplifier/settings.yaml
    • User: ~/.amplifier/settings.yaml
    • Keys: ~/.amplifier/keys.env
  3. Check for common patterns:
    • Tool calls returning errors repeatedly
    • Provider rejections (rate limits, auth failures, model not found)
    • Module mount failures at startup
    • Context overflow or compaction issues
  4. Explain what you found in plain language. Avoid jargon. Tell the user:
    • What went wrong
    • Why it likely happened
    • Concrete steps to fix it
  5. If the issue can't be diagnosed from logs alone, suggest the user:
    • Run amplifier doctor for a system health check
    • Check amplifier module list to verify module availability
    • Try amplifier --verbose to see detailed startup output

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.