paper-cranes: Settings file for Claude Code

.claude/settings.json

paper-cranes is a settings file for Claude Code from loqwai/paper-cranes. Its token cost is not measured, scanned B, original, BSD-3-Clause.

A project settings file that limits an agent to nine specifically listed command-line tools and Git operations.

In plain words
What is it for?
It allows selected development-server checks, state-file reads, log viewing, shader validation, Git status and diffs, and restoring shader files.
Why use it?
It restricts which commands the agent may run, reducing the chance of unauthorised project changes or system actions.

Settings file for Claude Code

Written for Claude Code: installed under .claude/.

This is loqwai/paper-cranes's own configuration. It tells Claude Code how to work on paper-cranes itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paper-cranes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to loqwai/paper-cranes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/loqwai/paper-cranes/main/.claude/settings.json
Clone the repo
git clone --depth 1 https://github.com/loqwai/paper-cranes

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 paper-cranes

README.md
[![agentmods](https://agentmods.dev/badge/settings/loqwai/paper-cranes/settings/github.svg)](https://agentmods.dev/settings/loqwai/paper-cranes/settings)
Your own site
<a href="https://agentmods.dev/settings/loqwai/paper-cranes/settings"><img src="https://agentmods.dev/badge/settings/loqwai/paper-cranes/settings/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 paper-cranes

Your own site · 80×15
<a href="https://agentmods.dev/settings/loqwai/paper-cranes/settings"><img src="https://agentmods.dev/badge/settings/loqwai/paper-cranes/settings.svg" alt="Reviewed on agentmods" width="80" 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 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade B, and why

paper-cranes 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

"Bash(cat .claude/vj-state.json)",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

"Bash(PORT=$(./scripts/dev-port); curl -s -o /dev/null -w \"%{http_code}\" http://localhost:$PORT/ 2>/dev/null || echo \"not running\")",
.claude/settings.json · 17 lines

What it actually says

{
  "permissions": {
    "allow": [
      "Bash(./scripts/dev-port)",
      "Bash(PORT=$(./scripts/dev-port); curl -s -o /dev/null -w \"%{http_code}\" http://localhost:$PORT/ 2>/dev/null || echo \"not running\")",
      "Bash(cat .claude/vj-state.json)",
      "Bash(cat .claude/vj-signals.jsonl)",
      "Bash(tail:*)",
      "Bash(node scripts/validate-shader.js:*)",
      "Bash(git checkout -- shaders/*)",
      "Bash(git status)",
      "Bash(git diff:*)",
      "Bash(node scripts/vj/show.js:*)"
    ]
  }
}
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. 5d ago Changed · +1 lines a7c1d811270f
  2. 11d ago First seen · 16 lines scan B 035289f07dc5

Subscribe to this mod's changes

paper-cranes is a settings file published in the GitHub repository loqwai/paper-cranes (7 stars, last pushed 3d ago), licensed BSD-3-Clause. 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 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.