@flowcraft.systems/cli
v0.3.5
Published
flowcraft CLI — instrument your AI coding sessions and surface ROI signals in seconds
Maintainers
Readme
@flowcraft.systems/cli
Instrument your AI coding sessions and surface ROI signals in seconds.
npx @flowcraft.systems/cli initWhat it does
flowcraft init sets up telemetry for your AI coding tools (GitHub Copilot, Claude, and others) in the current repository:
- Writes
.flowcraft/config.yamlpointing at your ingest endpoint - Patches your AI tool instruction files to load the ROI calculator skill
- Installs
.github/skills/roi-calculator/SKILL.md - Adds
.flowcraft/to.gitignore
Requirements
- Node.js ≥ 22
- A flowcraft account and API token
- A git repository
Usage
# Interactive — prompts for token and endpoint
npx @flowcraft.systems/cli init
# Non-interactive
FLOWCRAFT_TOKEN=fc_pat_your_token npx @flowcraft.systems/cli init \
--tools=github-copilotOptions
| Flag | Description |
|---------------|----------------------------------------------------------------------------|
| --endpoint | Ingest endpoint URL (default: auto-discovered from flowcraft.systems) |
| --tools | Comma-separated list of tools to instrument (e.g. github-copilot,claude) |
Environment variables
| Variable | Description |
|---------------------|------------------------------------------------|
| FLOWCRAFT_TOKEN | Your flowcraft API token (fc_pat_…) |
Supported tools
github-copilot— patches.github/copilot-instructions.mdclaude— patchesCLAUDE.mdopencode— patchesopencode.mdantigravity— patches.antigravity/system-prompt.md
License
MIT — see flowcraft.systems for terms of service.
