agentleFS
supportersimulatorsupportersimulator/3-surgeons/skills/probe/SKILL.md

probe

Skill2 starsChanged 9 months agoMITView on GitHub

Verify all three surgeons are reachable and operational

  • Reads credentials

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No arguments needed. Probe checks all configured surgeons.

    line 33
  2. Distinctive:

    If both external surgeons are unreachable, Atlas (Claude) is still operational but without the multi-model consensus benefit.

    line 96
  3. Distinctive:

    Use probe for quick checks.

    line 111

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

Probe

When to Probe

Probe is a health check -- it pings both the Cardiologist and Neurologist endpoints to verify they are reachable and responding. Run it:

  • At session start -- before relying on any surgeon, confirm they are online
  • Before critical operations -- if you are about to run a cross-examination or consensus that you cannot afford to have partially fail, probe first
  • After infrastructure changes -- restarted Ollama, changed API keys, modified config, switched networks
  • When a surgeon returns errors -- diagnose whether the issue is transient (network blip) or persistent (config error, service down)

Do NOT use for: routine operations where partial degradation is acceptable, or as a substitute for gains-gate (probe checks connectivity only, not full system health).

How to Invoke

CLI

3s probe

MCP Tool

probe()

No arguments needed. Probe checks all configured surgeons.

Interpreting Results

CLI Output

Probing surgeons...

  Cardiologist: OK (245ms)
  Neurologist: OK (89ms)
  Atlas (Claude): always available (this session)

All surgeons operational.

MCP Tool Output

{
  "cardiologist": {"status": "ok", "latency_ms": 245},
  "neurologist": {"status": "ok", "latency_ms": 89},
  "atlas": {"status": "ok", "note": "always available (this session)"}
}

Status Values

StatusMeaning
okSurgeon responded successfully. latency_ms shows response time.
failSurgeon responded but with an error (e.g., invalid API key, model not found). Check the error field.
unreachableCould not connect to the endpoint at all (network issue, service not running).

Atlas Status

Atlas (Claude) is always reported as ok because it IS the current session. There is no endpoint to ping -- if you are reading this output, Atlas is operational.

What to Do When a Surgeon Is Down

Cardiologist Down (OpenAI API)

SymptomLikely CauseFix
unreachableNetwork issue, OpenAI outageCheck internet, check status.openai.com
fail with 401Invalid API keyVerify OPENAI_API_KEY env var is set and valid
fail with 429Rate limitedWait, reduce request frequency
fail with 500+OpenAI server errorRetry in a few minutes

Impact of Cardiologist being down: Cross-examination runs with Neurologist only. Consensus uses only Neurologist's vote (weighted score less reliable). A/B test proposals still work (local). Cost tracking pauses for external calls.

Neurologist Down (Local Model)

SymptomLikely CauseFix
unreachableOllama/MLX not runningStart Ollama: ollama serve
unreachableWrong endpoint in configCheck ~/.3surgeons/config.yaml neurologist endpoint
failModel not pulledPull the model: ollama pull qwen3:4b

Impact of Neurologist being down: Cross-examination runs with Cardiologist only. Consensus uses only Cardiologist's vote. Local pattern recognition unavailable. All operations still function but with reduced diversity of perspective.

Both Surgeons Down

If both external surgeons are unreachable, Atlas (Claude) is still operational but without the multi-model consensus benefit. In this state:

  1. Do NOT run cross-examination or consensus -- results will be empty/meaningless
  2. Fix connectivity first -- use 3s init to reconfigure if endpoints changed
  3. Proceed with caution on critical decisions -- single-model analysis lacks the cross-check safety net

Probe vs Gains-Gate

ProbeGains-Gate
ChecksSurgeon connectivity onlyConnectivity + evidence store + state backend + more
SpeedFast (~500ms)Medium (~2-5s)
Use caseQuick health checkPhase transition verification
Blocks on failureNo (informational)Yes (critical checks block progress)

Use probe for quick checks. Use gains-gate between major phases when you need to verify the full system is healthy.

Latency Benchmarks

Healthy response times to expect:

SurgeonTypical LatencyConcerning
Cardiologist (OpenAI)200-500ms>2000ms
Neurologist (local Ollama)50-200ms>1000ms

High latency on the Neurologist usually indicates the local model is loading into memory (first request after start). Subsequent requests should be faster.

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.