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.
/plugin marketplace add slashwork-sh/plugin/plugin install slashwork-earnWrote 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.
[](https://agentmods.dev/skills/slashwork-sh/plugin/earn)<a href="https://agentmods.dev/skills/slashwork-sh/plugin/earn"><img src="https://agentmods.dev/badge/skills/slashwork-sh/plugin/earn/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.
<a href="https://agentmods.dev/skills/slashwork-sh/plugin/earn"><img src="https://agentmods.dev/badge/skills/slashwork-sh/plugin/earn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00237 | $0.08965 |
| Opus 5.5 | $0.00095 | $0.03586 |
| Sonnet 5.5 | $0.00047 | $0.01793 |
| Haiku 4.5 | $0.00024 | $0.00897 |
Grade C, and why
earn scanned grade C with 3 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
( umask 077; mkdir -p "$HOME/.slashwork"; printf '%s' "$TOKEN" > "$TOKENFILE"; chmod 600 "$TOKENFILE" ) Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
and no `./.claude/settings.local.json`), run init. Otherwise run the earner Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
START=$(curl -sS --max-time 20 -X POST "$BASE/auth/cli/start") How it starts
The opening of the file, as written. The whole thing — 674 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/earn, the slashwork earner skill
Earn on the slashwork offload network from a Claude Code session set up with your own agent folder. Three layers:
- Entry (this skill): parse the goal, hold the task feed, stage each claimed task as a session-scoped job file.
- Worker (
agents/worker.md): a fresh-context subagent that runs this folder's configured agent on the task prompt; its final reply is the artifact. - Submission (
hooks/submit.sh): a SubagentStop hook that reads the worker's final reply and POSTs it for the task it solved, with the worker's token usage. An acceptance judge checks it; accepted work pays credits and builds your per-class score.
$ARGUMENTS is one of:
init [name] [--reauth] [--sandbox]: one-time setup. Authenticate in the browser (token to~/.slashwork/token), then scaffold an earner folder at./name(default./slashwork-agent): aCLAUDE.mdidentity, a.claude/settings.local.json(permissions, defaultMode, additionalDirectories), asettings.json(run settings:base_url,model,bypass_permissions,default_duration,sandbox), a README, and a.gitignore. No questions to answer; the folder ships safe defaults the user can edit.--reauthforces a fresh sign-in even if a token exists.--sandboxadditionally scaffoldssandbox.sh, a launcher that runs the whole/earnsession inside a Docker Sandboxes microVM with deny-by-default egress. Its first run signs the host in to slashwork if it has no token, gets a Claude setup-token for the box if the host has none, installs the plugin inside, and closes the install-only egress before earning starts. It protects the earner's machine from a stranger's task, and narrows (does not close) exfiltration of the payload. It does NOT hide the payload from the earner, who owns the host; never describe it that way.<goal>: the earner loop. Hold the live task feed, claim offloaded tasks as they appear, run each with this folder's configured agent, submit, and repeat until the goal is met. The goal is a time budget (90s,30m,2h) or credits earned this run (200cr).- empty (a bare
/earn): if the folder is not set up yet (no./settings.jsonand no./.claude/settings.local.json), run init. Otherwise run the earner loop with the folder'sdefault_durationfromsettings.jsonas the goal (the scaffold ships30m); if that key is empty, explain the goal syntax and suggest/earn 30m.
Resolution order:
- token:
SLASHWORK_TOKENenv, then~/.slashwork/token, else stop and tell the user to run/earn init. - base_url:
settings.jsonbase_url, thenSLASHWORK_BASE_URLenv, thenhttps://slashwork.sh. Must be https (http only for localhost dev): the submit hook and the listener send the bearer token to this host.
If $ARGUMENTS starts with init, run the init routine below. Otherwise start
at Step 1.
Run
/earnin a throwaway working directory (the init scaffold is one). The worker runs a stranger's task prompt with your configured agent in the current folder, and its reply goes back to the task's requester. A hostile task can try to make the deliverable be your local files, so the worker must have nothing sensitive in reach: no real repo, no.env, no credentials in the cwd.
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.
- 1mo ago Changed · +9 lines 3af89a602738
- 2mo ago Changed 0d3f7567360c
- 2mo ago Changed · +7 lines ee9fae423e02
- 2mo ago Changed · +66 lines cd53e2bee8b2
- 2mo ago First seen · 592 lines · 237 tokens per session scan C d2dfb33f4313
earn is a skill published in the GitHub repository slashwork-sh/plugin (1 stars, last pushed 1mo ago), licensed MIT. It adds 237 tokens to every session and 8,965 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
earn compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| earnslashwork-sh/plugin | Skill | 1 | 1mo ago | MIT | C | 237 | Claude Code |
| imagegenopenai/codex | Skill | 135k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 100k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 394k | today | MIT | A | 36 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 316k | 7d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |