# Quill Delegate: Hand Coding Tasks to a Local Model

> Your agent hands well-scoped coding tasks to the model on your own machine through Quill Code, in an isolated git worktree, then reviews and applies the result.

Quill Delegate: Hand Coding Tasks to a Local Model is a free AI agent skill on Agensi by Smoffyy, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Smoffyy](https://www.agensi.io/creators/smoffyy)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/quill-delegate-hand-coding-tasks-to-a-local-model
- Tags: ai-agents, llm-ops, quill-code, local-llm, git, ollama, llama-cpp, claude-code

## About this skill

Your agent stays in charge, but hands routine, self-contained coding work to the model running on your own machine through Quill Code, a free, MIT-licensed terminal coding agent for local models (https://github.com/Smoffyy/quill-code).

### What it does

1. Checks that the quill CLI is installed and a model server is running (`quill models`).
2. Decides whether the task suits a local model: a failing test with a clear error, a rename, tests that follow an existing pattern, boilerplate, a small refactor. Judgment calls, security-sensitive code and vague requirements stay with your agent.
3. Writes a brief the local model can follow on its own: the goal, the files, the command that proves it worked, and what not to touch.
4. Runs `quill exec -w`, so the work happens in a separate git worktree and your checkout is not touched.
5. Reviews the diff, runs the check itself, fixes small issues, applies the patch and removes the worktree.
6. Tells you what changed and which local model wrote it. Nothing is committed unless you ask.

### Why use it

- Routine work stops spending your cloud tokens.
- The first pass at your code never leaves your machine.
- You still get a reviewed result, not raw local-model output.

### Requirements

- Quill Code 1.0 or newer
- git
- A local model server: llama.cpp, LM Studio, Ollama, vLLM, Jan, GPT4All or any OpenAI-compatible server, running a model that supports tool calls

Tested end to end with Claude Code and Qwen 3.5 35B-A3B on llama.cpp. A 9B model or larger is recommended.

### Install Quill Code

macOS and Linux:

```
curl -fsSL https://github.com/Smoffyy/quill-code/releases/latest/download/install.sh | sh
```

Windows (PowerShell):

```
irm https://github.com/Smoffyy/quill-code/releases/latest/download/install.ps1 | iex
```

The installer checks the download against the release's checksums and needs no admin rights. Then open a new terminal in a project and run `quill` once: it finds your model server and lets you pick a model. If Quill is missing when you use the skill, your agent shows you these commands.

### What's inside

- `SKILL.md`: the workflow
- `references/routing.md`: which tasks to delegate, and how to split a larger job
- `references/exec-events.md`: the `quill exec --json` event stream, for tool-level detail
- `LICENSE`: MIT

## Requires

- Quill Code (quill CLI)
- Git
- LM Studio
- Ollama

## Known limitations

Requires Quill CLI, Git, and a running local model server. Only handles tasks in local Git repositories with at least one commit. Cannot perform interactive approvals during execution.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Quill Delegate: Hand Coding Tasks to a Local Model skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill manage my code differently than just chatting with a local LLM?

Your agent writes a brief the local model can follow on its own, Quill does the work in a separate git worktree, and your agent reviews the diff and runs the tests before anything reaches your checkout. You get a checked result instead of raw local-model output, and your working copy is never touched mid-task.

### What specific software do I need installed to use Quill Delegate?

It requires the Quill Code CLI (version 1.0 or higher), Git, and an active local inference server such as Ollama, LM Studio, or vLLM to process the code changes locally.

### Is this skill compatible with Windows and Linux environments?

Yes, the skill is designed to work across Windows, macOS, and Linux, provided your system has the hardware to run local models and a compatible shell for the Quill CLI.

### Can I use this skill for proprietary code that cannot be sent to cloud-based AI services?

Partly. The work the local model does stays on your machine: Quill sends the brief and the files it reads only to your own model server. Your main agent still reads the task, the diff and the test results, so if that agent is a cloud service, that part goes to it as usual. For code that must never leave your machine, run Quill directly instead.

### What are the main limitations I should be aware of when delegating tasks?

Results depend on your local model: small models handle mechanical tasks well but struggle with design decisions, which is why the skill keeps those with your main agent. The project must be a git repository with at least one commit, and uncommitted changes are not copied into the worktree, so the skill asks before working on top of them.

### What is included, and what is not?

The skill includes the logic for model routing, automated briefing, Git worktree orchestration, and patch application, but it does not include the Quill CLI or the LLM models themselves.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
