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 skills/study8677/agent_view_controller-avc/avcnpx skills add study8677/Agent_View_Controller-AVC --skill avcgit clone --depth 1 https://github.com/study8677/Agent_View_Controller-AVCWhat 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.00071 | $0.01218 |
| Opus 5 | $0.00036 | $0.00609 |
| Sonnet 5 | $0.00014 | $0.00244 |
| Haiku 4.5 | $0.00007 | $0.00122 |
Grade B, and why
avc scanned grade B with 1 finding 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 2d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
cd Agent_View_Controller-AVC && go build -o avc . && sudo cp avc /usr/local/bin/ How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AVC — Agent View Controller
AVC is a visual interaction tool that transforms JSON into interactive native WebView UIs. Use it when you need human approval for complex decisions.
When to Use
Use avc instead of printing plain text when:
- Execution plans with more than 3 steps
- Architecture changes involving multiple modules
- Multi-file refactoring plans
- Deployment sequences that need human review
- Any complex plan where the human should visually review and reorder steps
Prerequisites
avc must be installed and available in PATH:
# From source
git clone https://github.com/study8677/Agent_View_Controller-AVC.git
cd Agent_View_Controller-AVC && go build -o avc . && sudo cp avc /usr/local/bin/
How to Use
Step 1: Construct JSON
Build a JSON object with view type and structured data:
{
"view": "plan",
"title": "Your Plan Title",
"lang": "en",
"editable": true,
"token_count": 4500,
"data": {
"steps": [
{"id": 1, "label": "Step description", "status": "pending"},
{"id": 2, "label": "Another step", "status": "pending"}
]
}
}
Tip —
langfield: Localizes UI chrome (buttons / status bar / tooltips) only — not step content. Supported:en(default),zh,ja,ko,es,fr,de. Match it to the language of your step labels for a consistent UI.
Step 2: Pipe to AVC
echo '<json>' | avc
Step 3: Read the Result
- Exit code
0= human confirmed → stdout contains modified JSON - Exit code
130= human cancelled
RESULT=$(echo '{"view":"plan","title":"My Plan","token_count":5000,"data":{"steps":[{"id":1,"label":"Step 1","status":"pending"}]}}' | avc)
if [ $? -eq 0 ]; then
# Parse $RESULT — human may have reordered, edited, or removed steps
echo "$RESULT"
else
echo "Human cancelled"
fi
Important Behavior
avcblocks until the human clicks Confirm or Cancel- stdout contains the human-modified JSON (may have reordered/edited/removed steps)
- If
token_count≤ 3000 (default threshold), AVC passes through without opening a window - Use
--no-thresholdto always show the WebView window - Use
--threshold=Nto set a custom threshold
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.
- 2d ago First seen · 139 lines · 71 tokens per session scan B 0819cd7b4a18
avc is a skill published in the GitHub repository study8677/Agent_View_Controller-AVC (68 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 1,218 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
frontend-best-practices
Use this skill when creating or modifying React frontend components. It defines UI/UX, styling, and architecture standards.
gradio-themes
Build and customise Gradio themes. Use when creating, editing, or publishing Python-based Gradio themes that control colours, typography, spacing, shadows, and dark mode.
hf-gradio
Use Gradio applications via API. Use when the user asks for to generate a prediction from a Gradio app on Hugging Face spaces or public URL. For example, "Generate an image using black-forest-labs/FLUX.2-dev".
compiler-port
Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.
flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.