sflow: Instructions file for Claude Code

CLAUDE.md

sflow CLAUDE.md is an instructions file for Claude Code from daniel-carreon/sflow. It costs 4,518 tokens per session, scanned A, original, MIT.

A historical development guide for SFlow v1/v2, a macOS voice-to-text app that records speech through keyboard shortcuts, sends it to the Groq Whisper transcription service, and pastes the text where the cursor is.

In plain words
What is it for?
Use it only as a reference for the older Python app's setup and behavior; new SFlow work should use the sflow-next project described in the guide.
Why use it?
It prevents developers from working on an old Python version when current SFlow development belongs in the separate Swift-based v3 project.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; positional $N argument.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/daniel-carreon/sflow/claude-md"><img src="https://agentmods.dev/badge/instructions/daniel-carreon/sflow/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,518 This file is loaded in full into every session.
When invoked 4,518 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.04518 $0.04518
Opus 5.5 $0.01807 $0.01807
Sonnet 5.5 $0.00904 $0.00904
Haiku 4.5 $0.00452 $0.00452

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

Security

Grade A, and why

sflow 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 2mo 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 · 330 lines

How it starts

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

CLAUDE.md — SFlow Development Instructions

⚠️ ESTE ES SFlow v1/v2 (Python) — SUPERADO POR v3

La versión viva es SFlow v3, un rebuild nativo en Swift: repo daniel-carreon/sflow-next · local ~/Developer/software/sflow-next/. Es la que está instalada en /Applications/SFlow.app (aquí quedó SFlow-v1-backup.app).

Este repo se conserva SOLO como referencia histórica. No lo desarrolles. Si te pidieron trabajar en "SFlow", es casi seguro que quieren sflow-next. v3 comparte el mismo data dir (~/Library/Application Support/SFlow/) y los mismos IDs de modelo — la migración v1→v3 fue cero copia.

What is SFlow?

SFlow is a macOS voice-to-text desktop tool that replaces Wispr Flow ($15/month). It captures audio via global hotkeys, transcribes using Groq Whisper API (~$0.02/hour), and auto-pastes text wherever the cursor is. It includes a floating pill UI overlay, real-time audio visualization, SQLite history, and a web dashboard.

Quick Start (Dev Mode)

# 1. Install system dependency
brew install portaudio

# 2. Create virtual environment
python3 -m venv venv
source venv/bin/activate

# 3. Install Python dependencies
pip install -r requirements.txt

# 4. Set up environment
cp .env.example .env
# Edit .env and add your GROQ_API_KEY (get one at https://console.groq.com/keys)

# 5. Run
python3 main.py

Build Desktop App (.app bundle)

# Recommended: full install dance (build + ditto + kill old proc + relaunch + open Accessibility panel)
bash install.sh

# Or just build the bundle without installing
bash build.sh

install.sh exists because build.sh alone leaves you with a broken paste — see "Critical: ad-hoc rebuild → silent Accessibility revocation" below.

The .app bundle is self-contained (~478MB — INCLUYE el stack MLX: mlx-whisper + parakeet-mlx + librosa/numba/scipy + los Metal .metallib). No Python, no venv, no terminal. On first launch, if no API key exists in ~/Library/Application Support/SFlow/.env, a dialog asks for it. Menu-bar app.

Read the full file on GitHub · 330 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. 2mo ago First seen · 330 lines · 4,518 tokens per session scan A 34a999232355

Subscribe to this mod's changes

sflow CLAUDE.md is an instructions file published in the GitHub repository daniel-carreon/sflow (22 stars, last pushed 1mo ago), licensed MIT. It adds 4,518 tokens to every session, about $0.0181 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-30.

Related

sflow CLAUDE.md compared with instructions from other repositories

sflow CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sflow CLAUDE.mddaniel-carreon/sflowInstructions file221mo agoMITA4,518Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot