spark

spark is a settings file for Claude Code from buildonspark/spark. Its token cost is not measured, scanned B, original, Apache-2.0.

A project settings file that defines startup hooks and which tools an agent may use.

In plain words
What is it for?
It helps configure session startup, tool-use hooks, plan-file handling, and Git-related permissions.
Why use it?
It automates checks and actions at specific points in a coding session while restricting tool access to approved operations.

Settings file for Claude Code

One of 4 entries in settings.json — they are configured in one file and arrive together.

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 settings/buildonspark/spark/settings
Clone the repo
git clone --depth 1 https://github.com/buildonspark/spark

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 spark

README.md
[![agentmods](https://agentmods.dev/badge/settings/buildonspark/spark/settings.svg)](https://agentmods.dev/settings/buildonspark/spark/settings)
Your own site
<a href="https://agentmods.dev/settings/buildonspark/spark/settings"><img src="https://agentmods.dev/badge/settings/buildonspark/spark/settings.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade B, and why

spark scanned grade B with 1 finding 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 yesterday.

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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

"Bash(python3 -m json.tool:*)",
.claude/settings.json · 214 lines

How it starts

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

{
  "plansDirectory": ".claude/plans",
  "permissions": {
    "allow": [
      "Bash(git status:*)",
      "Bash(git log:*)",
      "Bash(git diff:*)",
      "Bash(git show:*)",
      "Bash(git branch:*)",
      "Bash(git remote:*)",
      "Bash(git fetch:*)",
      "Bash(git rev-parse:*)",
      "Bash(git ls-files:*)",
      "Bash(git ls-tree:*)",
      "Bash(git ls-remote:*)",
      "Bash(git blame:*)",
      "Bash(git grep:*)",
      "Bash(git describe:*)",
      "Bash(git reflog:*)",
      "Bash(git tag:*)",
      "Bash(git stash list:*)",
      "Bash(git config --get:*)",
      "Bash(git config --list:*)",
      "Bash(git merge-base:*)",
      "Bash(git shortlog:*)",
      "Bash(git name-rev:*)",
      "Bash(git cat-file:*)",
      "Bash(git add:*)",
      "Bash(git checkout:*)",
      "Bash(git worktree:*)",
      "Bash(git --version:*)",
      "Bash(git help:*)",
      "Bash(git check-ignore:*)",

      "Bash(git -C * status:*)",
      "Bash(git -C * log:*)",
      "Bash(git -C * diff:*)",
      "Bash(git -C * show:*)",
      "Bash(git -C * branch:*)",
      "Bash(git -C * remote:*)",
      "Bash(git -C * fetch:*)",
      "Bash(git -C * rev-parse:*)",
      "Bash(git -C * ls-files:*)",
      "Bash(git -C * ls-tree:*)",
      "Bash(git -C * ls-remote:*)",
      "Bash(git -C * blame:*)",
      "Bash(git -C * grep:*)",
      "Bash(git -C * describe:*)",
      "Bash(git -C * reflog:*)",
      "Bash(git -C * tag:*)",
      "Bash(git -C * stash list:*)",
      "Bash(git -C * config --get:*)",
      "Bash(git -C * config --list:*)",
      "Bash(git -C * merge-base:*)",
      "Bash(git -C * shortlog:*)",
      "Bash(git -C * name-rev:*)",
      "Bash(git -C * cat-file:*)",
      "Bash(git -C * add:*)",
      "Bash(git -C * checkout:*)",
      "Bash(git -C * worktree:*)",
      "Bash(git -C * check-ignore:*)",

      "Bash(gh pr list:*)",
      "Bash(gh pr view:*)",
      "Bash(gh pr diff:*)",
      "Bash(gh pr checks:*)",
      "Bash(gh pr status:*)",
      "Bash(gh 

Read the full file on GitHub · 214 lines

Same file

What else settings.json configures

This page is one entry in a file that holds 4. Installing the file brings all of them; each is measured and scanned on its own page.

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. yesterday First seen · 214 lines scan B 8dd02e1dd5e5

Subscribe to this mod's changes

spark is a settings file published in the GitHub repository buildonspark/spark (110 stars, last pushed 3d ago), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.