agentleFS
MicrosoftKnown publishermicrosoft/Copilot-Managed-Runtime/plugins/copilot-managed-runtime/skills/troubleshoot/SKILL.md

troubleshoot

Skill16 starsChanged 27 days agoMITView on GitHub

Diagnoses failures only in Copilot Managed Runtime apps, @microsoft/cmr-cli or this plugin's instructions. Not general troubleshooting for other products, ms-named tools or agents.

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation 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.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • roronoazoroshao369Skill

    memory-compression

    Also in 5 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 4 projects that use this

  • MicrosoftSkill

    generate-run-commands

    Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

    Also in 4 projects that use this

  • sublimotionSkill

    agent-runtime

    Launch and manage detached agent runs on EKS via the agent-runner CLI. Use when the user says "launch an agent run", "agent runtime", "agent-runner", "run this spec on the cluster", "check run status", "agent run logs", or "stop a run". Do NOT use for writing the agent-runner code itself (edit the sibling ../agent-runner repo), Terraform of the foundation (use terraform-automation), or GPU serving deployments (use infra-deployer).

    Also in 5 projects that use this

  • +5 more from naman10parikh

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Use only when the failure relates to Copilot Managed Runtime, its @microsoft/cmr-cli, or this plugin's instructions.

    line 11
  2. Distinctive:

    Keep distinct agent-session, CLI-execution, runtime-session and backend-request IDs private.

    line 38
  3. Distinctive:

    Only when stale guidance or version compatibility is plausible, fetch the plugin marketplace and compare the relevant instructions at an …

    line 54
  4. Distinctive:

    If lookup fails, record the limitation and continue locally.

    line 59
  5. Distinctive:

    Do not run destructive or billable reproductions without explicit approval.

    line 67
  6. Distinctive:

    Verify the original symptom, record each action/result, and stop repeating unsuccessful fixes without new evidence.

    line 68
  7. Distinctive:

    If the user wants a support handoff (for example, Teams), prepare a concise copyable summary of this evidence, likely cause/uncertainty and …

    line 85

“Common” is measured: kept by at least 6 in 10 of the 28 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

Shared Instructions: shared-instructions.md

Troubleshoot

Use only when the failure relates to Copilot Managed Runtime, its @microsoft/cmr-cli, or this plugin's instructions. Installation alone, an ms command name, or a generic agent error does not establish relevance. If unclear, ask which product is affected before collecting diagnostics. For unrelated products, leave this workflow without running CMR checks or recommending our issue repository; use the product's normal troubleshooting path.

1. Preserve relevant evidence

Reuse the conversation and calling skill's context; ask only for missing facts. Obtain scoped consent before collecting environment details, historical logs or network traces. Use available project/CLI/host evidence, not invented diagnostic commands, UI features or transcript APIs. Keep a concise evidence summary:

FailureRelevant evidence
Agent/code generationActual actions, relevant prompt/diff, instruction sources
CLICommand/arguments, CLI version, timestamp, exit/error code, returned execution ID
App load/runtimeLocal/deployed mode, build/runtime version, console error, failed request status, timestamp, available runtime/request IDs
Build/deploySource commit, stage, build/deployment ID, error excerpt

Preserve original errors and versions before changes. Installed plugin, session-loaded instructions and app-generation versions are different facts; mark each observed, agent-reported or unknown. A manifest/hash read now does not prove what an earlier session loaded. Do not infer agents from environment markers or change attribution variables while hooks are active.

Keep distinct agent-session, CLI-execution, runtime-session and backend-request IDs private. Do not publish evidence from this skill; apply the /report-issue privacy review before sharing a handoff. Keep notes in the conversation unless the user requests a saved artifact; ask for its location/approval and do not write private evidence to tracked source. Do not modify the memory bank solely to record diagnostics.

2. Identify the likely cause

Compare the actual action with the applicable packaged workflow and supported CLI/API behavior. Reuse existing create troubleshooting or /dev recovery when relevant. Explain the likely cause with evidence and uncertainty: incorrect agent action, outdated/unrelated guidance, configuration, instruction gap, product defect, or unknown. Describe observed actions, not hidden reasoning; causes can coexist.

Only when stale guidance or version compatibility is plausible, fetch the plugin marketplace and compare the relevant instructions at an identifiable published revision with the failing action. A higher version is not proof of a fix. Cite the applicable change before recommending an update; do not substitute unrelated public docs. If lookup fails, record the limitation and continue locally.

3. Correct safely and verify

Explain a targeted correction and follow existing approval gates. Read-only collection is not permission to update/restart, recreate resources, change permissions, push or deploy. An approved corrective action may include a dependency/plugin update; preserve before/after versions and honor install gates. Do not run destructive or billable reproductions without explicit approval. Verify the original symptom, record each action/result, and stop repeating unsuccessful fixes without new evidence. If a new session is needed, provide a privacy-reviewed handoff; do not claim this session reloaded instructions.

4. Resolve or prepare escalation

Explain verified recovery. Suggest reporting a supported behavior that still fails or a concrete instruction gap, even if a workaround succeeds. Unknown or intermittent failures remain reportable; the user may report without recovery.

For escalation, summarize prerequisites/versions, numbered commands or UI steps, expected/actual results, frequency, attempted fixes and reproduction status (agent-verified, customer-reported, proposed, or not-reproduced). For agent failures, distinguish a prompt that sometimes produces bad actions from commands that reliably fail. Prefer a minimal local example with safe placeholders; state missing dependencies and whether synthetic inputs were actually tested.

If the user wants a support handoff (for example, Teams), prepare a concise copyable summary of this evidence, likely cause/uncertainty and remaining blocker; no GitHub issue is required. Apply the linked privacy review even for internal chat. Keep IDs separate unless approved for the intended recipients; never include credentials or raw customer data. Prepare text only, not an automatic message. For GitHub reporting, pass the evidence to /report-issue without another interview.

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.