agentleFS
supportersimulatorsupportersimulator/3-surgeons/skills/setup-team/SKILL.md

setup-team

Skill2 starsChanged 9 months agoMITView on GitHub

First-run onboarding — detect backends, configure API keys, and verify surgeon connectivity

  • Reads credentials
  • Installs packages

2 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When setup-team is triggered, present this naturally (adapt tone to context, but keep the substance):

    line 23
  2. Distinctive:

    If the user says yes (or anything affirmative), proceed.

    line 37
  3. Very specific:

    Write config via 3s init

    line 63
  4. Distinctive:

    If one backend detected, use it for both surgeons

    line 75
  5. Very specific:

    If none detected, help install: "The easiest path is Ollama — brew install ollama && ollama pull qwen3:4b gets you running in under 2 …

    line 76
  6. Distinctive:

    API keys NEVER go in config files: Always guide users to set environment variables:

    line 93
  7. Distinctive:

    Never ask the user to paste an API key into chat — tell them to set it as an env var

    line 104
  8. Distinctive:

    Never write API keys to config files, YAML, or any file on disk

    line 105
  9. Very specific:

    If a config references api_key_env: OPENAI_API_KEY, that means "read from this env var at runtime" — the key itself is never stored

    line 106
  10. Distinctive:

    If the user accidentally pastes a key in chat, acknowledge it, tell them to rotate it, and proceed with the env var approach

    line 107
  11. Distinctive:

    Practical: Don't explain the philosophy unless asked.

    line 112

≈ “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

Setup Team

When to Invoke

  • First time a user installs 3-Surgeons — before any cross-examination or consensus can run
  • User says "set up surgeons", "configure team", "connect models", "get started"
  • Probe shows surgeons down and user hasn't configured yet
  • User switches LLM backends — new local model, different API provider

Philosophy

You are the head surgeon (Atlas). Your team needs two more surgeons to provide the cross-examination that makes this system valuable. Your job is to help the user assemble their team — quickly, securely, and without pressure.

This is NOT a setup wizard. It's a conversation. Meet the user where they are.

The Opening

When setup-team is triggered, present this naturally (adapt tone to context, but keep the substance):

Your 3-Surgeons plugin is installed. I'm Atlas (your head surgeon),
but the team needs two more surgeons to provide cross-examination.

Quick options:
- Already have a local LLM running? (Ollama, LM Studio, MLX) — I'll detect it
- Have an OpenAI API key? — I can configure the Cardiologist in seconds
- Want to run fully local ($0)? — I'll help set up two local models

Want me to get the team assembled?

If the user says yes (or anything affirmative), proceed. If they want to skip, respect that — the plugin works with just Atlas, it's just better with the full team.

The Flow

Step 1: Detect what's already running

3s init --detect

Report what was found naturally:

  • Found a local LLM: "I can see [Ollama/MLX/LM Studio] running on port [X] with [model]. That's your Neurologist sorted."
  • Found nothing local: "No local LLM detected — no problem. Want to install one, or use cloud APIs for both surgeons?"

Step 2: Configure based on what they have

Path A — Local LLM detected + has API key: The most common path. Local model becomes Neurologist, API becomes Cardiologist.

  1. "For the Cardiologist, I'll need an API key. Which provider?"
    • OpenAI (recommended, gpt-4.1-mini)
    • DeepSeek (budget-friendly)
    • Groq (fastest inference)
    • Any OpenAI-compatible endpoint
  2. Help them set the env var securely (see Secret Handling below)
  3. Write config via 3s init

Path B — No local LLM, has API key(s): Both surgeons use cloud APIs.

  1. Suggest api-only preset (OpenAI + DeepSeek)
  2. Help set both env vars
  3. Or: help them install Ollama if they want local

Path C — Fully local ($0): Both surgeons use the same or different local models.

  1. If one backend detected, use it for both surgeons
  2. If none detected, help install: "The easiest path is Ollama — brew install ollama && ollama pull qwen3:4b gets you running in under 2 minutes"
  3. Write local-only config

Step 3: Verify the team

3s probe

Report results conversationally:

  • All green: "Team's assembled. Cardiologist (GPT-4.1-mini) and Neurologist (Qwen3-4B) are both responding. You're ready for cross-examinations."
  • Partial: "Neurologist is online but the Cardiologist isn't connecting — let me check that API key..."
  • Both down: Help debug (see probe skill for diagnostics)

Secret Handling

API keys NEVER go in config files. Always guide users to set environment variables:

# For the current session
export OPENAI_API_KEY="sk-..."

# To persist across sessions (add to shell profile)
echo 'export OPENAI_API_KEY="sk-..."' >> ~/.zshrc

Rules:

  • Never ask the user to paste an API key into chat — tell them to set it as an env var
  • Never write API keys to config files, YAML, or any file on disk
  • If a config references api_key_env: OPENAI_API_KEY, that means "read from this env var at runtime" — the key itself is never stored
  • If the user accidentally pastes a key in chat, acknowledge it, tell them to rotate it, and proceed with the env var approach

Tone

  • Low pressure. The plugin works with just Atlas. The other surgeons make it better, not mandatory.
  • Practical. Don't explain the philosophy unless asked. Just get the team running.
  • Adaptive. Power users want speed. New users want guidance. Read the room.
  • Honest about costs. Local models = $0. OpenAI gpt-4.1-mini = ~$0.40/1M tokens. Be upfront.

After Setup

Once the team is verified:

  1. Suggest a quick test: "Want to try a cross-examination? Pick any technical question and I'll have all three surgeons weigh in."
  2. Mention the daily budget cap: "Your config has a $5/day cap on external API calls. You can adjust this in ~/.3surgeons/config.yaml."
  3. Move on to whatever the user actually wants to do — setup is a means, not an end.

Supported Providers (Quick Reference)

ProviderEnv VarDefault ModelCost
OpenAIOPENAI_API_KEYgpt-4.1-mini~$0.40/1M
AnthropicANTHROPIC_API_KEYclaude-sonnet-4-20250514~$3.00/1M
GoogleGOOGLE_API_KEYgemini-2.5-flash~$0.15/1M
DeepSeekDEEPSEEK_API_KEYdeepseek-chat~$0.27/1M
GroqGROQ_API_KEYllama-3.3-70b~$0.59/1M
xAI (Grok)XAI_API_KEYgrok-2~$2.00/1M
MistralMISTRAL_API_KEYmistral-large~$2.00/1M
CohereCOHERE_API_KEYcommand-r~$0.15/1M
PerplexityPERPLEXITY_API_KEYsonar~$1.00/1M
TogetherTOGETHER_API_KEYLlama-3.3-70B~$0.88/1M
Ollamanoneany pulled model$0
LM Studiononeany loaded model$0
MLXnoneany served model$0
vLLMnoneany served model$0

Any endpoint implementing /v1/chat/completions works with zero code changes.

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.