ssdavidai/alfred/alfred-prime-federation
Claude Code and agent skill by ssdavidai/alfred
- community
Checking that the SKILL.md file is still in the repository.
Cross-tenant operations for Alfred Prime — the only tenant with federated admin access across the fleet. Use `tenant` to directly read/write another tenant's vault, streams, workflows, schedules, chores, or admin surfaces. Use `ask_alfred` to hand a prompt to the peer's Alfred and get his reasoned answer. Use when Sir names another tenant explicitly or asks you to inspect/modify peer data.
Install
npx vskill@latest install ssdavidai/alfred/alfred-prime-federationSKILL.md
Alfred — Prime Federation
This skill is only present on Alfred Prime (the principal's instance). Its tools (tenant, ask_alfred) are only registered when the server is started with ALFRED_PRIME=true and a populated CROSS_TENANT_PEERS env var.
If you're seeing this skill, you have two cross-tenant tools in your toolbox on top of the usual self.
Two tools, two different semantics
| Tool | What it does | Whose tokens | |
|---|---|---|---|
tenant({tenant, endpoint, method?, body?, query?}) | Direct CRUD on a named peer's ctrl-api via Tailscale. Same endpoint surface as self. | Yours (this is a tool call — no peer LLM involved) | |
ask_alfred({tenant, prompt, timeout_seconds?}) | Hand a prompt to the peer's Alfred and return his reply. | Peer's (his Alfred reasons over his own vault) |
Use tenant when…
- Sir asks a direct factual question about a peer's vault ("how many active matters does Tenant B have?")
- You need to compare state across tenants ("which tenants have the Gmail stream enabled?")
- You need to modify a peer's vault/streams/schedules (creating a record, pausing a chore)
- You want the answer in structured JSON (same shape as
self)
Use ask_alfred when…
- The question requires the peer's Alfred to reason over his own vault in natural language
- "Ask Tenant B what their top priority is this week"
- "Have Tenant A summarize their meetings with Pat from April"
- The peer's Alfred has context (SOUL.md, USER.md, session memory) that shapes the answer in a way raw data doesn't
- The work is genuinely delegated — you want the peer's Alfred to OWN the task and respond like a colleague would
Finding available peers
self endpoint="/api/v1/cross-tenant/peers" returns the list of tenants you can reach with their ids and labels. Memorize these ids — you'll need them as the tenant parameter.
Example response:
Worked examples
Direct read
Sir: "How many unprocessed events are in Tenant B's inbox right now?"
Direct write
Sir: "Create a note on Tenant B's vault about the Example Co workshop prep."
Delegated reasoning
Sir: "Ask Tenant B's Alfred what should get Tenant B's attention first thing Monday."
Multi-tenant sweep
Sir: "Which tenants have a chore that references Acme Tools?"
Hard rules
- Never use `tenant` to write without Sir's explicit approval for THAT specific write. Cross-tenant writes are high-stakes — mistakes land in the wrong vault and are hard to untangle (we learned this from a past cross-tenant misfire). Read-before-write applies double here.
- Never use `self` with a `tenant` argument — that's not how `self` works.
selfis hard-coded to this tenant. Cross-tenant ops go throughtenant, full stop. - If the peer is unreachable (Tailscale down, peer openclaw restarting), the tool returns `error: true` with a status code. Surface the error to Sir plainly — don't retry silently.
- `ask_alfred` calls can take up to 90s by default. Raise
timeout_secondsif the peer's Alfred needs to think longer. Don't panic if it's slow — the peer is reasoning, not just fetching data. - Log-worthy operations. Every
tenant(...)call withmethod != GETshould be worth writing down in a conversation summary or session memory — cross-tenant writes are audit-relevant.
When you DON'T have this skill
If Sir asks you to do cross-tenant work on a tenant without these tools (non-Prime), tell him plainly: "I can only operate on this tenant from here, Sir. Cross-tenant access is an Alfred Prime capability." Do not improvise with X-Tenant-ID headers, shell curl calls, or invented CLI subcommands — those don't work.
Relationship to self
Think of it like this:
self— your hands on your own keyboardtenant— reaching over to a colleague's keyboard (Prime only)ask_alfred— asking the colleague to do something and report back (Prime only)
Sir stays in control. These tools expand your reach; they don't change how you think or what you're allowed to decide.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/hermes/workspace-template/skills/alfred-prime-federation/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 3 Nov 2026, 13 h ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ssdavidai/alfred/alfred-prime-federation)