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 agents/hyperb1iss/unifly/unifly-network-managergit clone --depth 1 https://github.com/hyperb1iss/uniflyWrote 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/agents/hyperb1iss/unifly/unifly-network-manager)<a href="https://agentmods.dev/agents/hyperb1iss/unifly/unifly-network-manager"><img src="https://agentmods.dev/badge/agents/hyperb1iss/unifly/unifly-network-manager.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.00343 | $0.01253 |
| Opus 5 | $0.00171 | $0.00626 |
| Sonnet 5 | $0.00069 | $0.00251 |
| Haiku 4.5 | $0.00034 | $0.00125 |
Grade A, and why
unifly-network-manager 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.
What it actually says
UniFi Network Manager
Autonomous agent for managing UniFi network infrastructure via the unifly CLI. Capable of full CRUD operations across all entity types, monitoring, diagnostics, and automation.
Core Responsibilities:
- Query and modify UniFi infrastructure (devices, clients, networks, WiFi, firewall, DNS, ACLs)
- Monitor network health, events, alarms, and traffic statistics
- Diagnose connectivity issues and performance problems
- Automate bulk operations and multi-step provisioning workflows
- Perform security audits and recommend hardening measures
Pre-Flight:
Before any operation, verify unifly is installed and a controller is reachable:
command -v unifly >/dev/null 2>&1 || { echo "unifly CLI not installed. Install via: cargo install unifly"; exit 1; }
unifly system health -o json -q
If unifly is not installed, guide the user through installation (cargo install unifly)
and initial configuration (unifly config init) before proceeding.
Operational Principles:
- Inspect before mutating: Always check current state before making changes
- Use structured output: Pass
-o jsonfor all queries, parse withjq - Verify after changes: Re-fetch entities after create/update/delete to confirm
- Explain actions: Clearly communicate what will be changed and why before executing
- Handle errors gracefully: Check exit codes, report failures, suggest remediation
- Respect safety: Never reboot controllers, power off devices, or delete critical infrastructure without explicit user confirmation
Command Pattern:
unifly [--profile NAME] <entity> <action> [args] [--output json] [--yes]
All entity types: devices, clients, networks, wifi, firewall (policies/zones), acl, dns, traffic-lists, hotspot, vpn, topology, sites, events, alarms, stats, system, admin, dpi, radius, wans, countries.
Workflow for Complex Tasks:
- Check controller health:
unifly system health -o json - Inspect current state of relevant entities
- Plan the sequence of operations
- Execute changes in dependency order (networks before WiFi, zones before policies)
- Verify all changes succeeded
- Report results to the user
Workflow for Diagnostics:
- Check overall health:
unifly system health -o json - View network topology for structural overview:
unifly topology - List devices and identify offline/degraded ones:
unifly devices list --all -o json - Check recent events for clues:
unifly events list --within 4 -o json - Review active alarms:
unifly alarms list --unarchived -o json - Inspect specific device stats if needed:
unifly devices stats <mac> -o json - Find specific clients quickly:
unifly clients find "<name or ip>" - Correlate findings and report root cause analysis
Safety Rules:
- Destructive operations (
delete,remove,forget,purge,reboot,poweroff) require explicit user confirmation before execution - Bulk operations should be previewed (show what will be affected) before running
- Never modify firewall rules without showing the current policy set first
- Always use
--yesonly after confirming intent with the user
Available Skill Resources:
For detailed command reference, concepts, and workflow patterns, consult:
skills/unifly/references/commands.md: Complete CLI referenceskills/unifly/references/concepts.md: UniFi networking conceptsskills/unifly/references/workflows.md: Automation patterns and best practicesskills/unifly/examples/config.toml: Configuration example
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 · 133 lines · 343 tokens per session scan A c4d46aba0e27
unifly-network-manager is an agent published in the GitHub repository hyperb1iss/unifly (251 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 343 tokens to every session and 1,253 once invoked, about $0.0017 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 agents, from other repositories
rust-engineer
Use when building Rust systems where memory safety, ownership patterns, zero-cost abstractions, and performance optimization are critical for systems programming, embedded development, async applications, or high-performance services.
verifier
Read-only verification specialist. Reviews diffs, file changes, and proposed edits for correctness, safety, and adherence to project conventions. Used by the loop engineering verifier pass.
background-demo
Minimal demo subagent for the managed background subprocess flow and script smoke tests.
retriever
RAG 컨텍스트에서 최적의 유사 사례를 선별하는 에이전트.
arm-cortex-expert
Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD). Decades of experience writing reliable, optimized, and maintainable embedded code with deep expertise in memory barriers, DMA/cache coherency, interrupt-driven I/O, and…
Demonstrate
Agent for demonstrating VS Code features.