foxglove CLAUDE.md

foxglove CLAUDE.md is an instructions file for coding agents 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

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 instructions/lopes/foxglove/claude-md
Clone the repo
git clone --depth 1 https://github.com/lopes/foxglove

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.01750 $0.01750
Opus 5 $0.00875 $0.00875
Sonnet 5 $0.00350 $0.00350
Haiku 4.5 $0.00175 $0.00175

Measured 4d ago against content hash 638f99717e4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 26d ago), licensed MIT. It adds 1,750 tokens to every session, about $0.0088 per session on Opus 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

HoneyMCP CLAUDE.md

Claude Code instructions for barvhaim/HoneyMCP, covering claude.md, project overview, development commands, running the demo server and cli (honeymcp entry point).

barvhaim/HoneyMCP · 3,980 tokens

HoneyMCP AGENTS.md

AGENTS.md instructions for barvhaim/HoneyMCP, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.

barvhaim/HoneyMCP · 938 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens