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
- d1s3s/dsh-companiontheir own version, first seen Nov 8, 2026
- soreavis/ai-docenttheir own version, first seen Oct 13, 2026
- Consortium-team/project-creatortheir own version, first seen Sep 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Consortium-team/project-creator★ 17same name
- d1s3s/dsh-companion★ 2same name
- 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
- Very specific: line 14
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 …
- Very specific: line 23
Verify: python main.py "say the word: ready" — expect the model's reply on stdout.
≈ “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.
Files
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)
- Read
provider.py. It has helpers (http_json,http_bytes,encode_file_b64,api_key) and atemplatestub showing the exact shape a provider must have. - Implement a provider for the API you want (any HTTP endpoint or SDK,
any modality). Register it:
@register("myprovider"). ReturnResult(text=...)for text orResult(data=..., mime=...)for binary. - Edit
config.py: setprovider,model,base_url,api_key_env(the env var that holds the key — never paste the key itself into the file), and the defaultmode. - 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.mp3directprints text results only. If the provider returns binary (image/audio/video), direct mode fails on purpose — rerun with--mode fileand 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.
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
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.

