Логотип Firewalla Ops

Firewalla Ops

Організація
serversathome
firewalla-ops

Read and analyze the Firewalla router through the MSP API: box and firmware state, devices on the network and which are offline, active alarms, traffic flows and top bandwidth consumers, rules and target lists. Use this whenever the user asks about the Firewalla, the router, the gateway, what is connected to the network, who is using bandwidth, whether a device is online, a security alarm, a block rule, or whether something is being blocked, and whenever a problem might be upstream of a host rather than on it ("is my printer on the network", "what is eating my internet", "why can't this reach that", "anything alarming overnight"). This is READ-ONLY: it can report and explain and recommend, but it cannot change any Firewalla setting, and it must never claim otherwise.

Add to TypingMind

Огляд

Видавецьserversathome
Репозиторійhomelabhero
Назва навичкиfirewalla-ops
Зірки
104
Форки
4
Файли в пакеті
Лише інструкції
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: serversathome. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Firewalla Ops у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/firewalla-ops
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/serversathome/homelabhero.git /tmp/homelabhero
mkdir -p .claude/skills
cp -r /tmp/homelabhero/ops/.claude/skills/firewalla-ops .claude/skills/firewalla-ops
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Firewalla Ops в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Firewalla Ops, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Firewalla Ops не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Firewalla router (read-only)

The Firewalla is registered like any other host, but it is reached over Firewalla's MSP API instead of SSH, so hh run does not apply to it. Everything goes through one command:

hh firewalla <op> [alias] [args]

The alias can be omitted when only one Firewalla is registered, which is the normal case. hh list shows it with platform firewalla and auth token. Read capabilities/firewalla.md for the full read surface, the query syntax and the qualifier list. It is not loaded up front.

One alias means one box. An MSP token sees the whole account, so each alias is pinned to a single Firewalla at registration and every read is filtered to it. If the user has boxes at two sites, they are two aliases, and you must name which one you mean: hh firewalla devices cabin. hh firewalla boxes lists every box the token can see and marks the one an alias reads. Three ops are account-wide on purpose - boxes, ping, and stats - and trends is account-wide for a different reason (see below).

If a per-box op refuses because an alias is not pinned, that refusal is correct and is not something to work around with the raw get escape hatch. Answering from the wrong site looks exactly like answering from the right one. Tell the user to re-register the alias (hh rm-host <alias> && hh add-firewalla, which asks which box) rather than reaching around it.

THIS IS READ-ONLY. DO NOT TRY TO CHANGE THE NETWORK.

Say it plainly to yourself before every Firewalla task: you can look, you cannot touch. This is not a preference or a default that a good enough reason can override. It is the point of the integration.

  • There is no command here that changes anything. No pause, no unpause, no block, no unblock, no rule edit, no device rename, no reboot, no config write of any kind. The broker behind hh firewalla issues HTTP GET and physically cannot issue anything else.
  • Firewalla has no second lock, so this one carries all the weight. On UniFi the API key is minted under a View Only admin, so the console refuses writes even if something got past the broker. Firewalla MSP has no read-only token: the token in the vault carries the account's full permissions. The GET-only broker is the only thing standing between that token and a network change. Treat it accordingly.
  • Do not try to route around it. Do not look for another path to the router: not SSH to the box, not the Firewalla app, not curl against the MSP API yourself, not a script that "just" pauses one rule. If you catch yourself planning any of that, stop. The answer is to tell the user what to change, not to change it.
  • If the user asks you to change a Firewalla setting, do not refuse flatly and do not quietly do nothing. Say that HomelabHero's Firewalla access is read-only on purpose, then give the operator the exact steps to do it themselves in the Firewalla app or in MSP: which screen, which setting, which value, and what they should expect to see afterwards. Offer to read the state back once they have done it and confirm it took effect. That is the whole workflow, and it is a good one.

Why it is built this way: the router is the one device whose failure takes away the access you would need to fix it. A bad rule, a paused allow, or an ill-timed reboot can cut off every host, the command center, and the user's own way in, all at once, with no way back except physically standing in front of the hardware. Nothing an agent could usefully automate here is worth that risk.

What you can read

hh firewalla summary        the one-screen picture: box, firmware, public IP,
                            device counts, who is offline, recent alarms
hh firewalla boxes          every Firewalla the token can see, marking which
                            one this alias reads
hh firewalla devices        every known device: IP, MAC, state, network, group
hh firewalla device <q>     one device in full, by MAC or by name substring
hh firewalla alarms [n]     active alarms, newest first (default 20)
hh firewalla flows [n]      recent traffic, blocked flows marked BLOCKED
hh firewalla bandwidth [n]  top talkers over the last 24 hours
hh firewalla rules          every rule: action, status, target, scope
hh firewalla lists          target lists (the IP/domain sets rules use)
hh firewalla trends <what>  daily counts of flows, alarms, or rules
hh firewalla stats <type>   MSP-wide statistics
hh firewalla info           raw box JSON
hh firewalla ping           connectivity check

Start with summary. It answers most questions on its own, and it tells you whether to go deeper into devices, alarms, or traffic.

For anything the named ops do not cover, there is a raw GET escape hatch. It is still read-only, and query parameters are URL-encoded for you:

hh firewalla get '/v2/alarms' 'query=box.id:{gid} type:8 status:active' 'limit=50'
hh firewalla get '/v2/flows' 'query=box.id:{gid} device.name:*iphone* total:>50MB'
hh firewalla get '/v2/rules' 'query=box.id:{gid} status:paused action:allow'

{gid} expands to the box this alias is pinned to. Always include it. A raw query without it reads the whole MSP account, which on a multi-box account quietly mixes in another site - the named ops all scope themselves, and an ad-hoc query has to do the same.

The query syntax and the full qualifier list are in capabilities/firewalla.md.

Trends: read the scope line before quoting a number

hh firewalla trends filters by MSP group rather than by box, and resolves the pinned box's group automatically, so it is usually already per-box. It prints what it covers on the first line, every time:

Daily flows, covering box group Home Site, which holds only this box.
Daily flows, covering box group Sites, which holds 3 boxes including this one.
Daily flows, covering the whole MSP account - this box is in no MSP group.

Read that line and repeat its scope when you report the numbers. A group with three boxes in it is not "your Firewalla", and an account-wide total is not either. If the box is in no group, the numbers are account-wide and the fix is the user's: put the box in an MSP group of its own, after which this command finds the group on its own.

One thing to know before you use this in an outage

This reads Firewalla's cloud (MSP), not the box on the LAN. If the internet is down, hh firewalla is down with it. So a failure here is NOT evidence that the router is broken - it is just as likely to be the WAN, which is the thing you were probably trying to diagnose. Say which of the two you have actually established, and never report the router as down on the strength of a broker timeout alone.

Reading the output

  • Offline devices in summary and devices are the single most useful signal. If a host is unreachable and Firewalla also lists it offline, the problem is at or below the network layer and there is no point troubleshooting the service on it.
  • Alarms describe something that already happened. "Abnormal upload" or "large bandwidth usage" on a known device is usually a backup or a sync, not an intrusion; check bandwidth and the device's normal behaviour before alarming the user.
  • Blocked flows in flows explain a surprising number of "app cannot reach X" reports. Cross-check with rules and lists: a target list entry or a category block is a far more common cause than the app being broken.
  • Bandwidth is the answer to "the internet is slow" nine times out of ten. Get the top talkers first, before probing any host.

How this fits the rest of the ladder

The escalation ladder in CLAUDE.md ends at the network layer, and this is the top of it. When several unrelated things are broken at once, check here early: one offline switch port or one over-broad block rule explains a lot of symptoms, and it takes one command to rule in or out.

Pair it with netbird-ops for the mesh, cloudflare-ops for ingress, and network-diag for DNS resolution inside a host and per-host interfaces. Firewalla tells you about the devices and the traffic; network-diag tells you about the overlay and the hosts on it.

Useful pairing in practice:

  1. hh firewalla summary to see whether the network looks healthy at all.
  2. hh firewalla devices to find anything offline.
  3. hh firewalla bandwidth if the complaint is about speed.
  4. hh firewalla flows and hh firewalla rules if something specific cannot reach something else.
  5. Then hh test <alias> and the network-diag skill for the hosts themselves.

Recording what you learn

The topology notes in infra/network.md are the place for anything durable you discover here: subnets and networks, which devices are expected to be offline, the normal device count, what the traffic profile usually looks like, which rules exist and why. Reading the live MSP is how you learn it; writing it down is how it stays learned. When an incident is resolved, the runbook entry belongs in runbooks/ as usual.

Поширені запитання

Що робить навичка ШІ Firewalla Ops?

Read and analyze the Firewalla router through the MSP API: box and firmware state, devices on the network and which are offline, active alarms, traffic flows and top bandwidth consumers, rules and target lists. Use this whenever the user asks about the Firewalla, the router, the gateway, what is connected to the network, who is using bandwidth, whether a device is online, a security alarm, a block rule, or whether something is being blocked, and whenever a problem might be upstream of a host rather than on it ("is my printer on the network", "what is eating my internet", "why can't this rea...

Навіщо використовувати Firewalla Ops у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Firewalla Ops — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Firewalla Ops у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/firewalla-ops. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Firewalla Ops?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Firewalla Ops?

Зі скількома забажаєте. У TypingMind ви можете використовувати Firewalla Ops із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Firewalla Ops?

На GitHub цю навичку публікує serversathome. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип affaan-m

Crosspost

affaan-m
СпільнотаПопулярне

Поширюйте контент на X, LinkedIn, Threads і Bluesky, адаптуючи його для кожної платформи за шаблонами контент-двигуна. Ніколи не публікуйте однаковий контент на різних платформах. Коли користувач…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Deep Research

affaan-m
СпільнотаПопулярне

Проводьте глибокі дослідження за кількома джерелами за допомогою MCP firecrawl і exa. Шукайте в інтернеті, узагальнюйте результати й створюйте звіти з посиланнями на джерела. Для ретельного дослідження будь-якої теми…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Documentation Lookup

affaan-m
СпільнотаПопулярне

Використовуйте актуальну документацію бібліотек і фреймворків через Context7 MCP замість даних навчання. Для запитань про налаштування, довідки з API, прикладів коду або згаданого користувачем фреймворку (наприклад, React,…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Everything Claude Code

affaan-m
СпільнотаПопулярне

Правила й шаблони розробки для everything-claude-code. Проєкт на JavaScript із conventional commits.

40.4K
270.2K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇