agentleFS
koo1140koo1140/agent-companion/SKILL.md

companion

Skill1 starsChanged 4 months agoMITView on GitHub

Ask another AI model anything — inference any provider (text, image, audio, video) and get the result back directly or as a saved file. Use for second opinions, hallucination checks, data generation, translation, or capabilities this agent lacks (image/audio/video generation, other languages, other modalities). First use requires a one-time provider setup in provider.py and config.py.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. Consortium-team/project-creator★ 17same name
    2. d1s3s/dsh-companion★ 2same name
    3. soreavis/ai-docent★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Read provider.py. It has helpers (http_json, http_bytes, encode_file_b64, api_key) and a template stub showing the exact shape a provider …

    line 14
  2. Very specific:

    Verify: python main.py "say the word: ready" — expect the model's reply on stdout.

    line 23

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

Companion — give your agent a second AI to talk to

Companion is a tool, not a service: you run python main.py "<prompt>" and get a result. Which AI answers is entirely up to you — you implement the provider once, then just call the tool.

One-time setup (do this on first use)

  1. Read provider.py. It has helpers (http_json, http_bytes, encode_file_b64, api_key) and a template stub showing the exact shape a provider must have.
  2. Implement a provider for the API you want (any HTTP endpoint or SDK, any modality). Register it: @register("myprovider"). Return Result(text=...) for text or Result(data=..., mime=...) for binary.
  3. Edit config.py: set provider, model, base_url, api_key_env (the env var that holds the key — never paste the key itself into the file), and the default mode.
  4. Verify: python main.py "say the word: ready" — expect the model's reply on stdout.

Details and worked examples: AGENT_GUIDE.md.

Calling it

python main.py "<prompt>"                       # direct: result on stdout
python main.py "<prompt>" --mode file           # saves result, prints file path
python main.py "<prompt>" --attach img.png      # send local files (repeatable)
python main.py "<prompt>" --model other-model   # per-call overrides
python main.py "<prompt>" --extra '{"temperature": 0}'
python main.py "<prompt>" --mode file --out result.mp3
  • direct prints text results only. If the provider returns binary (image/audio/video), direct mode fails on purpose — rerun with --mode file and read/serve the printed path instead.
  • Errors arrive on stderr with exit code 1 and say what to fix (missing key, unregistered provider, HTTP error body). Fix the cause; do not retry blindly.

When to reach for it

  • Validation: cross-check your own answer against a different model before asserting a fact (hallucination check).
  • Data generation: batch-produce synthetic examples with a cheaper or faster model.
  • Missing modality: generate images/audio/video, transcribe audio, or use a vision model when you have none.
  • Multilingual: route to a model stronger in the target language.

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.