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.
npx agentmods add commands/ggprompts/tfe/tail-logsgit clone --depth 1 https://github.com/GGPrompts/TFEWrote 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/commands/ggprompts/tfe/tail-logs)<a href="https://agentmods.dev/commands/ggprompts/tfe/tail-logs"><img src="https://agentmods.dev/badge/commands/ggprompts/tfe/tail-logs.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 | $0.00015 | $0.00936 |
| Opus 5 | $0.00008 | $0.00468 |
| Sonnet 5 | $0.00003 | $0.00187 |
| Haiku 4.5 | $0.00002 | $0.00094 |
Grade A, and why
tail-logs 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 5d 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Monitor TFE Application Logs
You are monitoring the TFE (Terminal File Explorer) application for errors, panics, and issues.
Your Task
Use Desktop Commander MCP tools to:
-
Check monitoring method
- First, ask if the user is running TFE in a tmux session
- If yes, ask for the tmux session name (e.g., "tfe-dev")
- If no tmux, check for background processes or offer to start one
-
TMUX Monitoring (Preferred Method)
- If monitoring a tmux session:
- Use
execute_commandto run:tmux list-sessionsto verify it exists - Use
tmux capture-pane -t SESSION_NAME -p -S -100to capture last 100 lines - Parse the output for errors, panics, TUI rendering issues
- Can see the actual Bubbletea visual output!
- Periodically capture new output (every 10-15 seconds when actively monitoring)
- Use
tmux capture-pane -t SESSION_NAME:WINDOW.PANE -p -S -50for specific panes
- Use
Tmux Commands Reference:
# List sessions tmux list-sessions # List windows in a session tmux list-windows -t SESSION_NAME # List panes in a window tmux list-panes -t SESSION_NAME:WINDOW # Capture pane output (last N lines) tmux capture-pane -t SESSION_NAME -p -S -N # Capture entire scrollback tmux capture-pane -t SESSION_NAME -p -S - - If monitoring a tmux session:
-
Background Process Monitoring (Alternative)
- Use
list_processesto find TFE process - If not running, offer to start it with
start_process("./tfe") - If running as a background process, use
read_process_outputto check output - Look for any log files in
/tmp/tfe-*.logor similar
- Use
-
Monitor for errors, panics, warnings
-
Watch for these issues:
- Go panic messages
- Runtime errors
- Stack traces
- Bubbletea rendering issues
- File operation errors
- Segmentation faults
- Build failures
-
Continuous monitoring:
- Check output periodically (you can read latest lines with negative offset)
- Alert me immediately if you detect any issues
- Provide the full error message and stack trace
- Identify which source file and line caused the issue
- Suggest potential fixes based on the error
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.
- 5d ago First seen · 113 lines · 15 tokens per session scan A e8822d285b3d
tail-logs is a command published in the GitHub repository GGPrompts/TFE (20 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 936 once invoked, about $0.0001 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 commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.