peer-model

peer-model is a skill for Claude Code from lollipopkit/cc-plugins. It costs 96 tokens per session (1,203 once invoked), scanned A, original, MIT.

A skill for starting another AI model as a separate coding session and exchanging messages with it. The model must use an Anthropic-compatible service, with connection profiles stored in a configuration file.

In plain words
What is it for?
Use it when you need to delegate work to models such as DeepSeek or GLM, optionally share the current conversation, and communicate through peer-session messages.
Why use it?
It lets you ask a different model for help without treating a one-off command-line response as a shared working session.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the peer-model plugin — 1 skill shipped together

Good fit Use it when you need to delegate work to models such as DeepSeek or GLM, optionally share the current conversation, and communicate through peer-session messages.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add lollipopkit/cc-plugins
Claude Code
/plugin install peer-model

Made for: Claude Code.

Or install peer-model, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peer-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/lollipopkit/cc-plugins/peer-model/github.svg)](https://agentmods.dev/skills/lollipopkit/cc-plugins/peer-model)
Your own site
<a href="https://agentmods.dev/skills/lollipopkit/cc-plugins/peer-model"><img src="https://agentmods.dev/badge/skills/lollipopkit/cc-plugins/peer-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peer-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/lollipopkit/cc-plugins/peer-model"><img src="https://agentmods.dev/badge/skills/lollipopkit/cc-plugins/peer-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01203
Opus 5.5 $0.00038 $0.00481
Sonnet 5.5 $0.00019 $0.00241
Haiku 4.5 $0.00010 $0.00120

Measured 26d ago against content hash 69c902e7273e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

peer-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/peer-model/skills/peer-model/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Peer model session

The target model runs as a separate background Claude Code session (claude --bg) pointed at an Anthropic-compatible endpoint. It registers as a local peer, so both sides talk through the built-in SendMessage / ListAgents tools. Do not use claude -p for this: headless print sessions are not peers and cannot message back.

0. Configuration

Profiles live in ${XDG_CONFIG_HOME:-~/.config}/cc-peer-model/config.toml (override with CC_PEER_MODEL_CONFIG). List them with:

"${CLAUDE_PLUGIN_ROOT}/scripts/peer.py" profiles

If the file is missing, run peer.py init to write an example and ask the user to fill it in. Each profile:

[profiles.ds]
base_url_env = "PIMM_BASE_URL"  # or base_url = "...", or base_url_cmd = [...]
api_key_env = "PIMM_API_KEY"    # or api_key_cmd = ["security", "find-generic-password", "-s", "pimm", "-w"]
                                # or api_key_cmd = ["op", "read", "--no-newline", "op://Dev/pimm/password"]
model = "deepseek-v4.1-flash"
max_context_tokens = 1000000    # optional
env = { API_TIMEOUT_MS = "600000" }  # optional, non-secret only

claude --bg runs the peer in a process spawned by the Claude Code daemon, so the caller's environment never reaches it. peer.py therefore passes the profile via --settings: non-secret values in env, the key via apiKeyHelper, which runs inside the peer session:

  • api_key_cmd: an argv list (e.g. a macOS keychain or 1Password op read lookup), run in the session. Works regardless of how the daemon was started; 1Password asks to authorize each process tree that reads, so it may prompt whenever the session refreshes the key.
  • api_key_env: the variable is read in the session, i.e. from the daemon's environment. It works only if the daemon was started from a shell that exports it (e.g. via the shell profile); a daemon started from Claude Desktop, an IDE or launchd will not have it.
  • A literal api_key is refused.

Never write secrets into the config or echo resolved values.

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago Changed · +1 lines 69c902e7273e
  2. 1mo ago First seen · 68 lines · 96 tokens per session scan A c3c9ba666a14

Subscribe to this mod's changes

peer-model is a skill published in the GitHub repository lollipopkit/cc-plugins (7 stars, last pushed 24d ago), licensed MIT. It adds 96 tokens to every session and 1,203 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.

Related

peer-model compared with skills from other repositories

peer-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
peer-modellollipopkit/cc-pluginsSkill724d agoMITA96Claude Code
taiyi-integrationDong90/oh-my-taiyiforgeSkill85514d agoMITA27Claude Code, Codex
taiyi-ui-designDong90/oh-my-taiyiforgeSkill85514d agoMITA35Claude Code, Codex
taiyi-evolveDong90/oh-my-taiyiforgeSkill85514d agoMITA37Claude Code, Codex
taiyi-diagram-c4Dong90/oh-my-taiyiforgeSkill85514d agoMITA48Claude Code, Codex
senior-frontendroedyrustam/vibes-plugSkill1293d agoMITA52Cursor
design-system-architectroedyrustam/vibes-plugSkill1293d agoMITA43Cursor