foxglove: Instructions file for Claude Code

CLAUDE.md

foxglove CLAUDE.md is an instructions file for Claude Code from lopes/foxglove. It costs 1,750 tokens per session, scanned A, original, MIT.

Project instructions for Foxglove, a security tool that creates convincing decoy files and can place trackable markers in them.

In plain words
What is it for?
Use them when working on Foxglove's command-line features, decoy-file generation, optional Thinkst Canary markers, or related documentation and setup.
Why use it?
They explain the project's terminology, supported file types, commands, and workflow so changes can follow the repository's rules.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 foxglove CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lopes/foxglove/claude-md"><img src="https://agentmods.dev/badge/instructions/lopes/foxglove/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,750 This file is loaded in full into every session.
When invoked 1,750 The same file — it is already loaded in full.
Security scan A 0 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.
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.01750 $0.01750
Opus 5.5 $0.00700 $0.00700
Sonnet 5.5 $0.00350 $0.00350
Haiku 4.5 $0.00175 $0.00175

Measured 1mo ago against content hash 638f99717e4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

foxglove CLAUDE.md scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 126 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Foxglove is an AI-powered adversary engagement tool that generates high-fidelity, context-aware honeyfiles using Anthropic's Claude, and optionally mints and embeds honeytokens from a Thinkst Canary console. It automates creation of convincing fake data for defensive security operations, aligned with the MITRE Engage framework.

Glossary

  • honeyfile — a decoy document produced by foxglove generate (PDF, DOCX, XLSX, etc.).
  • honeytoken — a callback URL/hostname minted on a Thinkst Canary console via foxglove thinkst create. Honeytokens can be passed to foxglove generate --honeytokens so the LLM weaves them into honeyfile content.

Workflow (two moments):

  1. Optional — mint honeytokens via foxglove thinkst create and note their callback URLs/hostnames.
  2. Generate honeyfiles via foxglove generate ... [--honeytokens <urls>]. CLI validation → context ingestion → campaign planning (structured JSON via Pydantic) → content generation per honeyfile → file assembly to disk.

Supported honeyfile formats: PDF, Encrypted PDF (EPDF), DOCX, XLSX, PPTX, MD, CONF, JSON, XML.

Development Commands

# Install/sync dependencies
uv sync

# Generate honeyfiles
uv run python -m foxglove generate \
  --base-dir /tmp \
  --operation op_alpha \
  --num-files 10 \
  --formats pdf,docx,xlsx \
  --teams it,infra \
  --company "description of target company" \
  --file-content "description of expected file content" \
  [--honeytokens https://x.canary.tools/...,host.y.canarytokens.com]

# Manage honeytokens on a Thinkst Canary console
uv run python -m foxglove thinkst create \
  --domain-hash <your-domain-hash> --kind dns --flock flock:default --memo "..."
uv run python -m foxglove thinkst list --domain-hash <your-domain-hash>
uv run python -m foxglove thinkst remove --domain-hash <your-domain-hash> <canarytoken-id>

# Run tests
uv run pytest

# Run a single test file
uv run pytest tests/test_generator.py

# Run a single test by name
uv run pytest -k "test_name"

Read the full file on GitHub · 126 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. 1mo ago First seen · 126 lines · 1,750 tokens per session scan A 638f99717e4c

Subscribe to this mod's changes

foxglove CLAUDE.md is an instructions file published in the GitHub repository lopes/foxglove (2 stars, last pushed 20d ago), licensed MIT. It adds 1,750 tokens to every session, about $0.0070 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories