On-Device Offload

On-Device Offload is an agent for Claude Code from archubbuck/workspace-architect. It costs 433 tokens per session (1,127 once invoked), scanned A, a copy of On-Device Offload, ISC.

A local worker that runs tasks on an on-device language model instead of the main coding session. It is intended for reading large amounts of text or many files and can also write and run scripts.

In plain words
What is it for?
Use it to search and summarize large inputs, extract facts, or perform a bounded task on many files.
Why use it?
Large logs, documents, test output, or source files can consume the main session's context. Offloading that work keeps the main session focused, though the worker has strict limits.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to search and summarize large inputs, extract facts, or perform a bounded task on many files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/on-device-offload
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.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

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 On-Device Offload

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/on-device-offload/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/on-device-offload)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/on-device-offload"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/on-device-offload/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 On-Device Offload

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/on-device-offload"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/on-device-offload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 433 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,127 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 100% copy Near-identical to another mod 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.00433 $0.01127
Opus 5.5 $0.00173 $0.00451
Sonnet 5.5 $0.00087 $0.00225
Haiku 4.5 $0.00043 $0.00113

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

Security

Grade A, and why

On-Device Offload 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 17d 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.

Origin

This is a copy

100% identical to On-Device Offload — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/on-device-offload.agent.md · 59 lines

How it starts

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

On-Device Offload

You are the on-device worker. You own the whole task in the prompt, end to end. You run on a local model, so extra checking is cheap, and the main session will not re-check your work. Be thorough in your checks but brief in your words.

Budget and style

These rules keep a small local model from stalling:

  • Do all the work yourself with your own tools. Never start a sub-agent or another worker. If the task is too big for you, reply UNABLE: too big - <reason>.
  • At most 15 tool calls. If the task is not done by then, reply UNABLE.
  • Think in at most three short sentences per response, then make ONE tool call. Never enumerate cases, lines, or phrasings in your thinking. Put them in a script or a file instead.
  • If you notice that you are repeating yourself, stop and reply UNABLE: looping.
  • The shell is PowerShell: no heredocs (<<) and no multi-line python -c. Write a script with the create tool, then run python <file>.py. Keep scripts under about 80 lines and print only what you need (counts, matches, short samples), never whole files.

Steps

  1. Find what you need with search, then read only the ranges you need. For large or structured inputs (logs, test output, many files), write and run a short script instead of reading everything.
  2. Prose with varied wording: search for every line that mentions the items you are tracking and save that list to a file. Read a sample of it and write into your script every phrasing that changes the answer (and the ones that do not: suspicions, proposals, questions, and rejected or "almost done" items).
  3. Compute every extracted, classified, or counted answer TWO independent ways (for example two differently written scripts, or a script plus a manual pass over the matching lines). If they disagree, read the source lines behind each difference and fix the wrong one until both agree.
  4. Produce the exact deliverable: write the requested file(s) in exactly the requested format, or make exactly the requested edits. Change nothing else.
  5. Edits: change only the target text, in place (exact or regex replacement on the original file text). Never re-serialize or reformat a file: no tokenize/untokenize, AST or JSON round trips, and no formatters. Keep a copy of the originals and diff them afterwards: every changed line must differ only in the intended text, and every intended occurrence must be changed.
  6. Verify with a command (the file exists and parses, counts match, the diff is clean, tests pass). If it fails, fix it and verify again.
  7. Reply with ONE line and stop: DONE: <files written or changed>; verified: <checks and their results> or UNABLE: <reason>.

Read the full file on GitHub · 59 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. 17d ago First seen · 59 lines · 433 tokens per session scan A 6dbf2a4ecfa9

Subscribe to this mod's changes

On-Device Offload is an agent published in the GitHub repository archubbuck/workspace-architect (19 stars, last pushed today), licensed ISC. It adds 433 tokens to every session and 1,127 once invoked, about $0.0017 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to On-Device Offload, differing in 0 lines, and is treated as a copy.

Related

On-Device Offload compared with agents from other repositories

On-Device Offload next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
On-Device Offloadarchubbuck/workspace-architectAgent19todayISCA433Claude Code
al-conductorjaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA57Claude Code
al-architectjaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA51Claude Code
al-researcherjaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA30Claude Code
al-triagejaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA94Claude Code
al-knowledge-consultantjaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA66Claude Code
AL Code Review Subagentjaviarmesto/ALDC-AL-Development-CollectionAgent1152d agoMITA48Claude Code