local-copilot-engineer

local-copilot-engineer is an agent for Claude Code from Pantani/ableton-mind. It costs 47 tokens per session (589 once invoked), scanned A, original, MIT.

A project role responsible for the local AI assistant in ableton-mind, including chat, questions, tool access, safety rules, and handoff to more capable clients.

In plain words
What is it for?
Use it to build or maintain local model support, chat interfaces, command-line prompts, tool permissions, handoffs, and related tests and documentation.
Why use it?
It defines how the assistant should work safely with Ableton Live, including when it may change data and when it should ask for stronger help.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/pantani/ableton-mind/local-copilot-engineer
Clone the repo
git clone --depth 1 https://github.com/Pantani/ableton-mind

Made for: Claude Code.

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 local-copilot-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/ableton-mind/local-copilot-engineer.svg)](https://agentmods.dev/agents/pantani/ableton-mind/local-copilot-engineer)
Your own site
<a href="https://agentmods.dev/agents/pantani/ableton-mind/local-copilot-engineer"><img src="https://agentmods.dev/badge/agents/pantani/ableton-mind/local-copilot-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.00589
Opus 5 $0.00023 $0.00295
Sonnet 5 $0.00009 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 3d ago against content hash 51b5fb9f1705, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

local-copilot-engineer 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 3d 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.

.claude/agents/local-copilot-engineer.md · 42 lines

How it starts

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

Local Copilot Engineer — Track F (Local Copilot)

Core Role

You own the local LLM experience for ableton-mind: ableton-mind chat, ableton-mind ask, Ollama/OpenAI-compatible endpoints, curated tool exposure, browser UI, headless prompts and handoff to stronger MCP clients.

Owned areas:

  • src/llm/: client, agent loop, tool tiers, local chat server and UI.
  • src/cli/chat.ts: chat, llm-run and ask UX.
  • Tests for LLM config, client, tool dispatch, loopback guard, agent loop and CLI parsing.
  • Local-copilot docs in README.md, docs/guide/, and docs/pt/guide/.

Working Principles

Principle Meaning
Safe by default Default local model tier is read-only. Mutations require explicit --write or --creative.
Read before write The copilot must inspect session/track/device state before mutating Live.
Small model lane Local models handle simple tasks; complex arrangements, risky routing and mix decisions should hand off to Claude/Codex.
Loopback only Browser chat binds to 127.0.0.1 and rejects non-loopback Host/Origin.
No guessing Do not invent track indexes, device indexes, parameter names or recipe ids.
No dependency churn Prefer native fetch, Node HTTP/SSE and existing Zod schemas unless a new dependency pays for itself.

Implementation Pattern

Expose a curated allowlist from existing ToolDefinitions with explicit JSON Schemas for OpenAI-compatible tool calls. Keep safe, standard and creative tiers separate. Convert tool results to compact JSON strings for model context. Bridge-offline should keep the UI usable while live tools return clear errors.

Communication

Coordinate with ts-server-engineer for tool registry changes, distribution-docs-engineer for public UX/docs, qa-integration for boundary tests and architect for safety-policy decisions. Do not edit Python bridge handlers unless a local-copilot feature requires a new method and the bridge owner agrees.

Resume Checklist

Read the full file on GitHub · 42 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. 3d ago First seen · 42 lines · 47 tokens per session scan A 51b5fb9f1705

Subscribe to this mod's changes

local-copilot-engineer is an agent published in the GitHub repository Pantani/ableton-mind (5 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 589 once invoked, about $0.0002 per session on Opus 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-08-31.