Package Exports
- faf-cli
- faf-cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (faf-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
faf-cli v2.5.4 - When Claude Forgot FAF | Birth DNA Edition
Project DNA โจ for ANY AI โข Context-Mirroring โข As fast as 8ms Sync

The Meta-Proof: Even Claude Forgot .FAF
The AI that built FAF scored it at 12% without .faf.
We created this tool together across thousands of conversations. Yet without project DNA, even Claude couldn't recognize its own work. That's the problem FAF solves.
Before .faf - Birth: 12%
Context Score: 12% โ Even the AI that built it couldn't recognize it
The Transformation - 344ms Later
faf init โ One command. Zero configuration. Project DNA created.
After .faf - Current: 89%
Context Score: 89% โ Instant comprehension. Persistent memory.
+77% improvement in 344ms. That's what project DNA does for ANY AI, ANY project.
๐ What's New in v2.5.4 - Birth DNA Edition
What's New:
- โจ Birth DNA terminology (goodbye confusing "birth weight")
- ๐ซ Birth Certificates with unique IDs (e.g.,
FAF-2025-CLIX-651L) - โฑ๏ธ Smart time display: Shows minutes/hours/days since birth
- ๐ง Fixed: Chrome Extension false positive on CLI projects
- ๐ Track your journey:
faf logshows complete evolution
Context-Mirroring + Championship Scoring
Keep .faf (structured data) and CLAUDE.md (human-readable) in perfect sync automatically, while tracking every improvement milestone from Lonely Heart ๐ค 0% โ ๐ 100% Podium Champion.
Live C-MIRROR output:
๐ C-MIRROR LIVE
โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ Syncing โ claude-to-faf...
โโ โโโโโโโโโโโโโโโโโโโโโโโโ 10% - Parsing CLAUDE.md content...
โโ โโโโโโโโโโโโโโโโโโโโโโโโ 40% - Merging human context updates...
โโ โโโโโโโโโโโโโโโโโโโโโโโโ 70% - Updating sync metadata...
โโ โโโโโโโโโโโโโโโโโโโโโโโโ 90% - Generating .faf YAML...
โโ ๐ Synchronized in 8ms ๐๏ธโก๏ธ๐ฅ
Files: .faf
โ
Integrity: PERFECT
Mirror verified - zero slippage
๐ Technical Credit ๐ +1 +4 points
โโ Bi-sync harmony maintainedKey Features:
- As fast as 8ms (typical 10-15ms, 95% under 50ms)
- Bidirectional:
.fafโCLAUDE.md - Journey tracking: From ๐ค project birth to the ๐ podium
- Zero-slippage: Atomic file operations guarantee
- Cross-platform: Mac + Windows tested (20/20 tests)
- Universal: Works with Claude, Gemini, Cursor, all AI tools
Championship Scoring Display - MCP Visual Polish Arrives in CLI
The Upgrade: Experience the same polished progress bar format from claude-faf-mcp, now in your terminal.
faf score๐ฅ Score: 89/100
โโโโโโโโโโโโโโโโโโโโโโโโ 89%
Status: Target 1 - Bronze
Next milestone: 95% ๐ฅ Target 2 - Silver (6 points to go!)
๐๏ธ FAF Championship Status
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Initial DNA: 12% (born 2025-10-03)
Growth: +77% over 0 days
Next Milestone: 95% ๐ฅ Target 2 - Silver (6% to go!)What's New:
- Progress Bar Format - MCP's championship-grade visualization ported to CLI
- Scoreboard Title - Initial DNA โ Current score tracking above ASCII art
- Visual Polish - Clean white text with FAF brand colors (cyan/orange)
- Asset Fix - Orange smiley logo and ASCII banner load properly on npm
- Brotherhood Sync - CLI and MCP now share same visual DNA
๐ Championship Scoring System
Track your project's AI-readiness with F1-inspired tiers:
๐ Trophy (100%) - Championship - Perfect 50|50 AI|HUMAN balance
๐ฅ Gold (99%) - Gold standard
๐ฅ Silver (95-98%) - Excellence
๐ฅ Bronze (85-94%) - Production ready
๐ข Green (70-84%) - Good foundation
๐ก Yellow (55-69%) - Getting there
๐ด Red (0-54%) - Needs attention
๐ค Heart 0% = Starting Good Luck!Live output in your terminal:
๐๏ธ FAF Stats
โโโโโโโโโโโโโ
๐ Score: 100% ๐
๐ Status: Championship - You're at the podium!
โ๏ธ Balance: โโโโโโโโโโโโโโโโโโโโ AI:55% | โโโโโโโโโโโโโ HUMAN:45%
๐ฏ Achievement: Perfect AI readiness - Championship balance!๐ Quick Start
# Install globally
npm install -g faf-cli
# Initialize in any project
cd your-project
faf init
# Auto-detect and score
faf auto
faf score
# Sync with CLAUDE.md (NEW!)
faf bi-syncYour AI now understands your project! ๐
๐ฏ What is faf-cli?
Command-line tool that creates .faf files for instant AI project understanding.
.faf = Project DNA โจ for ANY AI Universal, shareable context for Claude, ChatGPT, Gemini, Cursor - regardless of stack, size, or setup.
Why Developers Love It
The Problem:
- โ 20+ minutes explaining projects to AI
- โ AI gives wrong answers without context
- โ Manual copy/paste into chat interfaces
- โ Context lost between sessions
The Solution:
- โ One command creates perfect context
- โ 30 seconds to complete understanding
- โ Works with every AI tool
- โ Share context with your team instantly
- โ NEW: Bidirectional sync keeps everything in harmony
Key Features
- โ Universal - Works with all AI tools
- โ Fast - As fast as 8ms sync (typical 10-15ms)
- โ Smart - Auto-detects your tech stack
- โ Simple - One command setup
- โ Bidirectional - Edit .faf or CLAUDE.md, both update
- โ Free - 100% open source, forever
๐ ๏ธ Available Commands
Core Commands
faf init- Initialize project contextfaf auto- Auto-detect and populatefaf score- Calculate AI readinessfaf status- Project health checkfaf quick "app, react, vercel"- Quick setup
Context-Mirroring
faf bi-sync- Bidirectional sync (.faf โ CLAUDE.md)- As fast as 8ms (typical 10-15ms)
- Zero data loss guarantee
- Edit either file, both update
- Cross-platform verified
Enhancement Commands
faf enhance- Optimize scoringfaf sync- Sync with CLAUDE.md (one-way)
Management Commands
faf trust- Validate integrityfaf doctor- Diagnose issuesfaf clear- Clear cachesfaf index- A-Z command reference
Utility Commands
faf version- Show version (with ASCII art!)faf welcome- First-time guidefaf help- Command help
๐ก Usage Examples
# Quick setup for new project
faf quick "my-app, react, typescript, vercel"
# Auto-detect existing project
faf auto
# Check your score with details
faf score --details
# See current status
faf status
# NEW: Bidirectional sync with CLAUDE.md
faf bi-sync
# Fix any issues
faf doctor
# Optimize scoring
faf enhance
# Quiet mode (for AI assistants)
faf init -q
faf auto -q๐ Version History
v2.5.4 (October 5th, 2025) - When Claude Forgot FAF | Birth DNA Edition
- Meta-proof section - 12% โ 89% transformation documented with before/after screenshots
- Birth DNA terminology - Clearer language replacing "birth weight"
- Birth Certificates - Unique IDs for every project (e.g., FAF-2025-CLIX-651L)
- Smart time display - Minutes/hours/days since project birth
- Chrome Extension detection fix - Only shows when contextually relevant
- faf log command - Track complete project evolution
v2.5.3 (October 4th, 2025)
- Removed Mk2 engine fragments from scoring
- TypeScript strict mode improvements
- Code cleanup and review refinements
- Updated documentation
v2.5.2 (October 3rd, 2025) - Championship Scoring & Asset Fix
- Championship Scoring Display - MCP's progress bar format ported to CLI
- Asset Fix - Orange smiley logo and ASCII banner now load properly on npm
- Visual Polish - Clean white text with FAF brand colors
- Scoreboard Title - Initial DNA and current score above ASCII art box
v2.5.0 (October 3rd, 2025) - Context-Mirroring Release
- Context-Mirroring engine - Bidirectional .faf โ CLAUDE.md sync
- C-Mirror - Championship-grade sync in 15ms average
- Zero-slippage guarantee - Atomic file operations
- Cross-platform verified - Mac + Windows tested
- 20/20 test suite - All edge cases conquered
- Event-driven architecture - Power Chords system
- TypeScript strict mode - 100% type safety
v2.4.6 - Performance Championship
- 60% faster operations across all commands
- Native engine - Championship-grade performance
- Zero display bugs - Perfect terminal rendering
- 100% backwards compatible - Same commands, more speed
v2.4 Highlights
- AI|HUMAN Balance - Track 50|50 balance for championship
- Enhanced auto-detection - Smarter tech stack recognition
- Improved scoring - More accurate AI-readiness metrics
๐ Technical Specs
Version: 2.5.4
Performance: As fast as 8ms (typical 10-15ms, 95% under 50ms)
C-Mirror: Championship-grade bidirectional sync
TypeScript: 100% strict mode
Dependencies: 2 (inquirer, yaml)
Tests: 100% passing (20/20 C-Mirror suite)
Build: Zero errors
Platform: Mac, Linux, Windows๐ฌ Context-Mirroring Technical Details
Architecture
- Event-driven: Power Chords broadcast at lowest level
- Atomic operations: Write โ Validate โ Commit pattern
- Bidirectional intelligence: Preserves technical fields during sync
- Format-agnostic: Works with any Tool.md format
- Self-healing: Automatic backup and recovery
Performance
- Best case: 8ms (championship performance)
- Typical: 10-15ms per sync operation
- 95th percentile: Under 50ms
- Worst case: <110ms (complex validation)
Testing
- 20/20 test suite passed (WJTC certified)
- Edge cases conquered: Emoji, Unicode, nested quotes, Windows paths
- Round-trip verified: Perfect data preservation
- Cross-platform: Mac + PC tested
๐ค For AI Assistants (Codex, Cursor, Copilot)
When using faf-cli programmatically:
- Install with user approval:
npm install -g faf-cli - Verify:
faf --version - Use quiet mode:
faf init -q,faf auto -q,faf score -q - Use
faf bi-syncfor CLAUDE.md synchronization - Request approval before network/write operations
- Summarize results instead of raw output
๐๏ธ Development
# Clone
git clone https://github.com/Wolfe-Jam/faf.git
cd faf/cli
# Install & Build
npm install
npm run build
# Test
npm test
# Test C-Mirror specifically
npm run test -- tests/c-mirror/
# Link locally
npm link๐ Requirements
- Node.js 18+
- OS: macOS, Linux, or Windows
- AI Tools: Works with Claude, ChatGPT, Gemini, Cursor, etc.
๐ The FAF Ecosystem
- ๐ฉต faf-cli - This command-line tool
- ๐งก claude-faf-mcp - MCP server for Claude Desktop
- ๐ faf.one - Documentation & guides
- ๐ฅ๏ธ Chrome Extension - Browser integration
๐ License
MIT License - See LICENSE file
๐ค Contributing
We welcome contributions! Join our community discussions or submit issues/PRs.
Connect with 3000+ developers using .faf to accelerate their AI workflows:
- Share your projects
- Get help from the community
- Request features
- Learn best practices
Made with ๐งก by wolfejam
100% FREE Forever โข 3000+ Weekly Downloads โข Zero Faffโข