cells
Skill1 starsChanged 9 months agoMITView on GitHub
Provision and register broker egress cells without exposing root-level infra steps in the frontend. Triggers: add cell, create cell, provision cell, 开 cell, 新增 cell, local cell, France cell, danted, wg-backed proxy.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cellsSkill
- deploySkill
- deploySkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat cell creation as an ops workflow:
- Distinctive: line 14
Verify egress from the broker host before binding any account
- Distinctive: line 18
Only override it if the provider explicitly requires a different prefix length.
- Distinctive: line 22
Use display names, not IDs, for the human naming convention.
- Distinctive: line 26
Keep IDs stable and technical
- Distinctive: line 27
Do not encode control-plane topology into IDs
- Distinctive: line 42
Use the wrapper for the normal flow:
- Very specific: line 53
Verify the proxy from the broker host using https://api64.ipify.org
- Distinctive: line 96
Use the lower-level scripts when you need to reprovision or debug a single step.
- Very specific: line 98
Do not bind unrelated accounts during validation.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cells
Treat cell creation as an ops workflow:
- Provision the proxy endpoint on the broker host or a remote WG-backed host
- Register the endpoint as an egress cell in broker admin API
- Verify egress from the broker host before binding any account
For per-cell IPv6 source addresses, default to --ipv6-prefixlen 128.
This is the safe default for routed single-address egress on Linode and similar hosts.
Only override it if the provider explicitly requires a different prefix length.
Naming
Use display names, not IDs, for the human naming convention.
- Format:
COUNTRY Provider NN - Local broker cells:
COUNTRY Provider NN(local) - Keep IDs stable and technical
- Do not encode control-plane topology into IDs
- In particular, do not append
-localto IDs; keeplocalonly in display names or labels
Current naming baseline:
UK Linode 01(local)for the existing broker-host local cellFR Linode 01for the existing France Linode cell
So the next cells should be:
UK Linode 02(local)UK Linode 03(local)FR Linode 02FR Linode 03
Use the wrapper for the normal flow:
bash .claude/skills/cells/scripts/add_cell.sh local ...
bash .claude/skills/cells/scripts/add_cell.sh remote ...What the wrapper does:
- Provision Dante on the target host
- Register the cell as
disabled - Verify the proxy from the broker host using
https://api64.ipify.org - Flip the cell to
activeunless--leave-disabledis set
Local broker cell
bash .claude/skills/cells/scripts/add_cell.sh local \
--id cell-uk-linode-02 \
--name "UK Linode 02(local)" \
--listen-port 11082 \
--ipv6 2600:3c13:e001:ae::101 \
--ipv6-prefixlen 128 \
--label site=core-local \
--label ipv6=2600:3c13:e001:ae::101Remote WG-backed cell
bash .claude/skills/cells/scripts/add_cell.sh remote \
--id cell-fr-linode-02 \
--name "FR Linode 02" \
--target root@172.239.9.209 \
--listen-port 12081 \
--proxy-host 10.77.0.2 \
--wg-bind-ip 10.77.0.2 \
--allow-from 10.77.0.1/32 \
--ipv6 2600:3c1a:e001:16::101 \
--ipv6-prefixlen 128 \
--install-package \
--label country=FR \
--label city=Paris \
--label transport=wg-direct \
--label ipv6=2600:3c1a:e001:16::101Underlying scripts
provision_local_danted.shprovision_remote_danted.shregister_cell.shverify_cell.sh
Use the lower-level scripts when you need to reprovision or debug a single step.
Do not bind unrelated accounts during validation. Provision and verify the cell first, then use the existing migration UI or /admin/accounts/{id}/cell afterwards.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

