lightcone-cli: Instructions file for Claude Code

CLAUDE.md

lightcone-cli CLAUDE.md is an instructions file for Claude Code from LightconeResearch/lightcone-cli. It costs 45,655 tokens per session, scanned E, original, BSD-3-Clause.

Repository instructions for Lightcone CLI, a command-line execution layer for ASTRA, a research-analysis specification system. ASTRA defines what a research specification means, while Lightcone CLI runs it in a controlled environment.

In plain words
What is it for?
It helps agents work on project scaffolding, execution, environment identity and controls that keep runs isolated and reproducible.
Why use it?
It clarifies the boundary between interpreting research specifications and executing them, especially while the repository is being rebuilt.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is LightconeResearch/lightcone-cli's own configuration. It tells Claude Code how to work on lightcone-cli 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 lightcone-cli configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **`../lightcone-cli/docs/design/execution-environment.md`** — *"the.

Reuse

Borrowing it

Nothing to install: this file belongs to LightconeResearch/lightcone-cli. 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/LightconeResearch/lightcone-cli/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/LightconeResearch/lightcone-cli

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 lightcone-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lightconeresearch/lightcone-cli/claude-md/github.svg)](https://agentmods.dev/instructions/lightconeresearch/lightcone-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/lightconeresearch/lightcone-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/lightconeresearch/lightcone-cli/claude-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.

agentmods 80×15 button for lightcone-cli CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lightconeresearch/lightcone-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/lightconeresearch/lightcone-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45,655 This file is loaded in full into every session.
When invoked 45,655 The same file — it is already loaded in full.
Security scan E 2 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin original No closer match found 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.45655 $0.45655
Opus 5.5 $0.18262 $0.18262
Sonnet 5.5 $0.09131 $0.09131
Haiku 4.5 $0.04566 $0.04566

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

Security

Grade E, and why

lightcone-cli CLAUDE.md scanned grade E 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

outright, and `~/.config/uv/uv.toml` and `~/.netrc` go missing.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

the node a ported recipe likes to `rm -rf` as a prelude (measured on
CLAUDE.md · 2,984 lines

How it starts

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

CLAUDE.md

Project Overview

lightcone-cli is Lightcone Research's execution layer for ASTRA (Agentic Schema for Transparent Research Analysis). It ships the lc executable — an agent-agnostic CLI; it bundles no agent-specific skills, hooks, or plugins.

  • ASTRA = pure specification: schema, validation, prior insights & findings, evidence verification, helpers, minimal CLI
  • lightcone-cli = execution layer: project scaffolding, execution, environment identity, hermeticity enforcement

lightcone-cli depends on ASTRA. The astra CLI handles spec operations; the lc CLI handles execution.

That split is enforced in code, not just described: everything about what a spec means — scoping, from: references, conditional outputs, universe resolution, the recipe placeholder grammar — is answered by astra.resolve and validated by astra.validation before lc acts on it. lc's whole ASTRA surface is ten functions; see Key Invariants (layer 4).

⚠️ This repository is a clean rebuild in progress

The codebase is being re-added layer by layer on top of the design spec:

../lightcone-cli/docs/design/execution-environment.md — "the locked environment is the execution environment", v6.1. Read it before adding anything — but read it as a reference, not gospel: the rebuild deliberately drifts from it as implementation teaches better answers, and where this file's Recorded decisions disagree with the spec, the decisions win. It lives in the sibling checkout for now (branch redesign_prototype), alongside its decision records (rationale, substrate tradeoffs, hermeticity enforcement, the v6 review). It stays in the sibling checkout and is dropped when the rebuild completes (decision, 2026-08): the design records are not imported into this repo — this file carries the decisions.

The pre-rebuild codebase (Snakemake shim, authored Containerfiles, container: in astra.yaml, vendored dask executor plugin, WRROC export) was stripped deliberately. Functionality comes back one layer at a time, each layer landing with its own tests and dependencies — never speculatively.

Read the full file on GitHub · 2,984 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. 5d ago Changed · +282 lines · +4,470 tokens per session 56af0e8f5af8
  2. 1mo ago Changed · +23 lines · +68 tokens per session c011f67dcc0d
  3. 1mo ago Changed · +139 lines · +2,189 tokens per session 3062a6ad4b13
  4. 1mo ago Changed · +27 lines · +251 tokens per session 76d9559da779
  5. 1mo ago Changed · -1 lines · -3 tokens per session 34180a2c0ac8
  6. 2mo ago First seen · 2,514 lines · 38,680 tokens per session scan E 8a1c1504fd58

Subscribe to this mod's changes

lightcone-cli CLAUDE.md is an instructions file published in the GitHub repository LightconeResearch/lightcone-cli (27 stars, last pushed 3d ago), licensed BSD-3-Clause. It adds 45,655 tokens to every session, about $0.1826 per session on Opus 5.5. A static security scan graded it E with 2 findings (reaches for credential files, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

lightcone-cli CLAUDE.md compared with instructions from other repositories

lightcone-cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lightcone-cli CLAUDE.mdLightconeResearch/lightcone-cliInstructions file273d agoBSD-3-ClauseE45,655Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode