Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/instructions/ggprompts/tfe/claude-md)<a href="https://agentmods.dev/instructions/ggprompts/tfe/claude-md"><img src="https://agentmods.dev/badge/instructions/ggprompts/tfe/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03920 | $0.03920 |
| Opus 5 | $0.01960 | $0.01960 |
| Sonnet 5 | $0.00784 | $0.00784 |
| Haiku 4.5 | $0.00392 | $0.00392 |
Grade A, and why
TFE 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TFE Architecture & Development Guide
This document is a concise index to TFE's architecture and development documentation. For detailed information, follow the links to specific guides.
Quick Start: When to Read What
Before starting ANY task, check this decision tree:
- 🎨 Working on UI/rendering/width calculations? → Read
docs/LESSONS_LEARNED.mdFIRST (critical!) - 📦 Adding a new feature? → Read "Where Does My Code Go?" below
- 🔧 Need to know what a module does? → See Module Quick Reference below or
docs/MODULE_DETAILS.md - 📝 Adding keyboard shortcuts or display modes? → Read
docs/DEVELOPMENT_PATTERNS.md - 🔒 Questions about "security issues"? → Read
docs/THREAT_MODEL.md - 📚 Managing documentation? → Read
docs/DOCUMENTATION_GUIDE.md - 🏗️ Want architectural history? → Read
docs/REFACTORING_HISTORY.md
After making code changes:
- ⚠️ ALWAYS run:
go test ./...to verify tests pass (see Testing Strategy) - ⚠️ ALWAYS run:
./build.shOR manually update both~/bin/tfeand~/.local/bin/tfe(see Building and Installing)
Architecture Overview
TFE follows a modular architecture where each file has a single, clear responsibility. This organization was established through a comprehensive refactoring that reduced main.go from 1668 lines to just 21 lines, distributing functionality across 19 focused modules.
Core Principle
When adding new features, always maintain this modular architecture by creating new files or extending existing modules rather than adding everything to main.go.
File Structure
tfe/
├── main.go # Entry point ONLY (21 lines)
├── types.go # Type definitions & enums
├── styles.go # Lipgloss style definitions
├── model.go # Model initialization & layout
├── update.go # Main update dispatcher
├── update_keyboard.go # Keyboard event handling
├── update_mouse.go # Mouse event handling
├── view.go # View dispatcher
├── menu.go # Menu bar rendering
├── render_preview.go # Preview rendering
├── render_file_list.go # File list views
├── file_operations.go # File operations (load, preview, CRUD)
├── file_icons.go # File type detection & icons
├── text_wrapping.go # Width calculations & text wrapping
├── editor.go # External tool integration
├── command.go # Command execution
├── git_operations.go # Git operations & status queries
├── dialog.go # Dialog system
├── context_menu.go # Context menu
├── favorites.go # Favorites/bookmarks
├── trash.go # Trash/recycle bin
├── prompt_parser.go # Prompt template parsing
├── fuzzy_search.go # Fuzzy file search
├── terminal_graphics.go # HD image preview
├── helpers.go # Helper functions
├── file_watcher.go # fsnotify file watcher & debouncing
├── theme.go # Configurable theme system (TOML)
├── agent_awareness.go # AI agent session detection & conversation viewer
├── render_jsonl.go # JSONL conversation file rendering
├── render_layout.go # Layout rendering & tab bar
├── render_prompts.go # Prompt template rendering
├── tmux.go # Tmux integration
├── actions.go # Shared action helpers for state mutations
└── ghost_text.go # AI command suggestions via ? prefix
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.
- 6d ago First seen · 433 lines · 3,920 tokens per session scan A 25eaa942d0ca
TFE CLAUDE.md is an instructions file published in the GitHub repository GGPrompts/TFE (20 stars, last pushed 2mo ago), licensed MIT. It adds 3,920 tokens to every session, about $0.0196 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-30.
Other instructions, from other repositories
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
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.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.