Borrowing it
Nothing to install: this file belongs to bertholomus/spark-attic. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bertholomus/spark-attic/main/AGENTS.mdgit clone --depth 1 https://github.com/bertholomus/spark-atticWrote 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/instructions/bertholomus/spark-attic/agents-md)<a href="https://agentmods.dev/instructions/bertholomus/spark-attic/agents-md"><img src="https://agentmods.dev/badge/instructions/bertholomus/spark-attic/agents-md/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/instructions/bertholomus/spark-attic/agents-md"><img src="https://agentmods.dev/badge/instructions/bertholomus/spark-attic/agents-md.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.01471 | $0.01471 |
| Opus 5.5 | $0.00588 | $0.00588 |
| Sonnet 5.5 | $0.00294 | $0.00294 |
| Haiku 4.5 | $0.00147 | $0.00147 |
Grade B, and why
spark-attic AGENTS.md scanned grade B with 2 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 2d 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.
sudo bash install.sh --check # add --format json for machine-readable output Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://github.com/bertholomus/spark-attic/releases/latest/download/install.sh -o install.sh How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instructions for coding agents
This file has two parts. Read the part that matches your task.
- Installing spark-attic for a user on their GB10 / DGX Spark: read "Install for a user".
- Changing this repository (issues, pull requests, reviews): read "Contributor instructions".
Install for a user
spark-attic lends the GB10's display carveout (about 2 GiB that the driver keeps for a display) to CUDA programs on a
headless node. The daemon is atticd. The full guide is INSTALL.md. This section is the procedure an
agent follows. Run every step on the node itself, as root (sudo).
Rules
- Use the release installer. Do not build from source, hand-copy binaries or edit the unit unless the user asks.
- Run the read-only preflight first. Show the user its result before you install anything.
- Do not work around a refusal. Each refusal line names its cause and the fix: report it to the user. Do not pass
--drm-dir, stop a display or another carveout lender, or change the driver or kernel settings without the user's consent. - Ask the user before
--with-sysctl(it changes a kernel setting from the next boot) and before you restart a running inference server to attach it. - Never print, copy or paste the key in
/etc/spark-attic/key. Give it to engines as a mounted file. - Report what the node says (
spark-attic status,/run/spark-attic/status.json), not what you expect.
Steps
- Check the node.
uname -m # must print aarch64 head -n1 /proc/driver/nvidia/version # the NVIDIA driver must be loaded - Preflight. It is read-only and writes nothing.
Exit 0 means clean. Exit 1 means problems: each one is a sentence with what to do. A line that starts withcurl -fsSL https://github.com/bertholomus/spark-attic/releases/latest/download/install.sh -o install.sh sudo bash install.sh --check # add --format json for machine-readable output~is a warning, not a failure. "no device-tree model readable" is such a warning: the driver and the carveout probe still settle whether the box is a GB10. Without the release tarball,--checkcannot run the shim and display checks yet and says so; the install runs them after the download and before it writes anything (or run--check --from <tarball>to see them first). If the user runs another carveout lender, setATTIC_OTHER_SOCKETSto its socket path so the preflight can see it. - Install.
The installer verifies the release tarball against its checksums, installs, creates a root-only key, validates the running driver and then startssudo bash install.shattic.service. If a step after the first write fails, it rolls back what that run changed and says so. A second run changes nothing. A newer release upgrades in place. The log is/var/log/spark-attic/install.log. Offline: downloadspark-attic-<version>-aarch64.tar.gzfrom the release page, then runsudo bash install.sh --from spark-attic-<version>-aarch64.tar.gz. - Verify.
Success isspark-attic status # state, MiB free and lent, clients, driver, validated cat /run/spark-attic/status.json # the same, keyless (STATUS-FILE.md) sudo spark-attic doctor # every check with a fix line; the exit code is the number of problems"state":"ready","validated":trueand asize_mibof about 2,044 on a stock GB10. If the state isrefusing, thewhyfield says why. Look it up in INSTALL.md, Troubleshooting. - Attach an engine, only if the user asks. atticd lends nothing until an engine borrows.
- vLLM or SGLang: mount
/run/spark-attic, the key file (read-only) and the Python package, and setPYTHONPATHandSPARK_ATTIC_KEY_FILE. INSTALL.md, section 6, has the exactdocker runline. The plugin loads by itself and logs onespark-attic:line.SPARK_ATTIC_PLACE=offturns it off for a comparison run. - TensorFold: no TensorFold release takes the carveout yet. It needs a build from the open pull request branch; INSTALL.md, section 6, has the settings.
- gr8: only gr8
mainfrom kindlingai/gr8 #614 on reads atticd's key file; no gr8 release or published gr8 image has it yet. SetGR8_DISPRAM=1 DISPRAM_SOCKET=/run/spark-attic/attic.sock DISPRAM_KEY_FILE=/etc/spark-attic/key. README.md, "gr8", has the details. - Your own CUDA program:
spark_attic.borrow()(inpython/spark_attic) maps memory into the calling process only. Another process cannot hand that memory to a running server.
- vLLM or SGLang: mount
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.
- 2d ago First seen · 89 lines · 1,471 tokens per session scan B c4d487d453a7
spark-attic AGENTS.md is an instructions file published in the GitHub repository bertholomus/spark-attic (52 stars, last pushed 5d ago), licensed Apache-2.0. It adds 1,471 tokens to every session, about $0.0059 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
spark-attic AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spark-attic AGENTS.mdbertholomus/spark-attic | Instructions file | 52 | 5d ago | Apache-2.0 | B | 1,471 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |