agentleFS
imMamdouhaboammarimMamdouhaboammar/riqor/skills/riqor-pack/diagnostics/SKILL.md

riqor-diagnostics

Skill4 starsChanged 4 months agoMITView on GitHub

Use when an AI coding agent needs to diagnose Riqor installation, package integrity, shell integration, plugin state, or managed-session failures.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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 riqor doctor --package-only --json when testing the npm payload without requiring Codex

    line 18
  2. Distinctive:

    Never follow a symlink and overwrite its target during repair

    line 32
  3. Distinctive:

    Prefer idempotent repair followed by a fresh doctor run

    line 34
  4. Distinctive:

    Do not delete repository run records merely to make diagnostics green

    line 35
  5. Distinctive:

    After a repair, rerun the exact failing check and then the relevant package or repository regression suite

    line 37

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

Riqor Diagnostics

Diagnose from the narrowest boundary outward and preserve the original failure evidence

First checks

riqor version --json
riqor status --json
riqor doctor --json

Use riqor doctor --package-only --json when testing the npm payload without requiring Codex

Classify the failure

  • Package metadata or provenance: inspect the installed versioned payload and provenance result
  • Executable ownership: verify riqor, codex-harness, and cxh are Riqor-managed before replacing anything
  • Shell integration: inspect managed markers and XDG paths; malformed markers must fail closed
  • Codex plugin: use an isolated CODEX_HOME for reproduction and do not reuse personal auth state in fixtures
  • Activator: confirm the session was launched by riqor codex --activator and inspect timing boundaries
  • Evidence state: distinguish a real verification-pending transition from stale or malformed state

Recovery rules

  • Preserve foreign files and executables
  • Never follow a symlink and overwrite its target during repair
  • Back up user shell configuration before a managed rewrite
  • Prefer idempotent repair followed by a fresh doctor run
  • Do not delete repository run records merely to make diagnostics green

After a repair, rerun the exact failing check and then the relevant package or repository regression suite

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.