Skip to content
Agentmart
Submit a tool

threadlight-citadel-hub

Threadlight-owned port (from awesome-gbb's Citadel hub skill): deploy the AI Citadel Governance Hub (Layer 1) for a Threadlight pilot, using an APIM gateway…

Skill by aiappsgbb

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aiappsgbb-threadlight-citadel-hub

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Threadlight-owned port (from awesome-gbb's Citadel hub skill): deploy the AI Citadel Governance Hub (Layer 1) for a Threadlight pilot, using an APIM gateway, the Foundry control plane, telemetry, the LLM APIs, private endpoints and access contracts. Wraps Azure-Samples/ai-hub-gateway-solution-accelerator (citadel-v1) at a pinned commit with 3 env profiles. No official azure-skills equivalent. USE FOR: deploy citadel hub, Citadel APIM hub, citadel-v1, LLM backend pool, unified AI API, citadel access contract, BYO VNet hub. DO NOT USE FOR: connecting a spoke (use threadlight-citadel-spoke), runtime policy (use threadlight-govern), a single Foundry resource or project (use microsoft-foundry), tenant isolation (use threadlight-tenant-isolation), a standalone AI Gateway, token limit or semantic caching policy (use azure-aigateway).

Use cases: documents, backend, devops, cloud

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/threadlight-citadel-hub

What's inside

Skill name
threadlight-citadel-hub
Description
Threadlight-owned port (from awesome-gbb's Citadel hub skill): deploy the AI Citadel Governance Hub (Layer 1) for a Threadlight pilot, using an APIM gateway, the Foundry control plane, telemetry, the LLM APIs, private endpoints and access contracts. Wraps Azure-Samples/ai-hub-gateway-solution-accelerator (citadel-v1) at a pinned commit with 3 env profiles. No official azure-skills equivalent. USE FOR: deploy citadel hub, Citadel APIM hub, citadel-v1, LLM backend pool, unified AI API, citadel access contract, BYO VNet hub. DO NOT USE FOR: connecting a spoke (use threadlight-citadel-spoke), runtime policy (use threadlight-govern), a single Foundry resource or project (use microsoft-foundry), tenant isolation (use threadlight-tenant-isolation), a standalone AI Gateway, token limit or semantic caching policy (use azure-aigateway).
License
MIT
Metadata
version: 1.1.7 · provenance: awesome-gbb@7f1de882 (MIT) — see PROVENANCE.md
Instructions
944 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Agent Skills spec issues

  • body: 944 lines (spec recommends under 500)

Files (9)

  • PROVENANCE.md
  • README.md
  • SKILL.md
  • customer-checklist.md · references/
  • live-audit-notes.md · references/
  • enterprise-baseline.env · references/profiles/
  • pilot-quickstart.env · references/profiles/
  • vnet-isolated-spoke-aware.env · references/profiles/
  • upstream-pin.md · references/

SKILL.md (first lines)

# Citadel Hub Deploy — Layer 1 Governance Hub

> **Status:** Public Preview wrapper around the
> [Azure-Samples / ai-hub-gateway-solution-accelerator] branch
> `citadel-v1` (MIT). The accelerator is the canonical source; this skill
> never forks or vendors its Bicep — it pins to a known-good commit, ships
> 3 curated AZD env profiles, and wires the deployment into the
> Threadlight conventions (tenant isolation, MCAPS pilot tagging,
> spoke-aware networking).
>
> **Pinned upstream:** `63f0f812474e713916dc909494d655246783a1d9`;
> see [`references/upstream-pin.md`](references/upstream-pin.md).
> **Validation boundary:** the current pin is build-validated and was
> live-deployed with the lean pilot overlay on 2026-08-19. Core APIM model
> discovery and chat succeeded. Positive client-credentials JWT validation
> remains unverified because the validation tenant's Conditional Access policy
> blocked workload token issuance; see
> [`references/live-audit-notes.md`](references/live-audit-notes.md).

[Azure-Samples / ai-hub-gateway-solution-accelerator]: https://github.com/Azure-Samples/ai-hub-gateway-solution-accelerator/tree/citadel-v1

---

## 1. Why this matters

Most "Foundry pilot" decks stop at "deploy a Foundry account, run an
agent". That works for **one** team and **one** use case. The moment a
second team needs the same model, you hit five hard problems:

1. **Cost attribution.** Whose subscription pays for which call?
2. **Quota fairness.** One team's batch run starves another's chat.
3. **Policy uniformity.** PII redaction, content safety, model
   allow-lists — defined once, enforced everywhere.
4. **Auditability.** Who called what model, when, with which prompt?
5. **Backend abstraction.** Switching a model from PTU → PayAsYouGo
   shouldn't require every spoke to re-deploy.

The Citadel Governance Hub is the AI Apps GBB reference design that
solves all five at the platform level. APIM in front of every model
backend, Cosmos for usage telemetry, Logic App for billing aggregation,
Event Hub for streaming events, and a **per-team Access Contract**
(APIM Product) that gives each spoke its own subscription key, scope,
and policy bundle.

Without this you end up with N spoke projects each negotiating their
own Foundry quota and their own PII policy — and your CISO finds out
on day 91.

```
   ┌──────────────────────────────────────────────────────────┐
   │   Layer 1 — Governance Hub (this skill deploys it)        │
   │                                                           │
   │  ┌────────────┐    ┌──────────┐    ┌──────────────────┐  │
   │  │ APIM v2    │ ←→ │ Cosmos   │ ←→ │ Foundry (×N)     │  │
   │  │ AI Gateway │    │ Usage DB │    │ Multi-region     │  │
   │  └────────────┘    └──────────┘    └──────────────────┘  │
   │       ↑                  ↑                                │
   │       │                  │                                │
   │  ┌────┴───┐   ┌──────────┴────┐                          │
   │  │ Event  │   │ Logic App     │                          │
   │  │ Hub    │   │ Usage         │                          │
   │  └────────┘   │ Aggregation   │                          │
   │               └───────────────┘                          │
   └──────────────────────────────────────────────────────────┘
            ↑                          ↑                ↑
            │ per-team access contract │                │
            │ (APIM Product + sub key) │                │
   ┌────────┴──────┐         ┌─────────┴─────┐  ┌──────┴────┐
   │ Spoke project │         │ Spoke project │  │ Foundry   │
   │  team A       │         │   team B      │  │ Workspace │
   │ (use citadel- │         │ (use citadel- │  │ (use      │
   │  spoke-onbrd) │         │  spoke-onbrd) │  │  spoke…)  │
   └───────────────┘         └───────────────┘  └───────────┘
```

---

## 2. What `threadlight-citadel-hub` does (and what it doesn't)

### Does

- Captures the upstream `azd` template at a **pinned SHA** (see
  `references/upstream-pin.md`); never silently rolls forward.
- Wraps the deployment in a **tenant-isolated, assertion-gated** workflow
  (see `threadlight-tenant-isolation`).
- Ships **3 curated AZD environment profiles** in `references/profiles/`:
  - `pilot-quickstart.env` — Developer SKU, lean optional-service overlay
  - `enterprise-baseline.env` — Standard v2, production-grade, BYO Log Analytics
  - `vnet-isolated-spoke-aware.env` — BYO VNet + DNS, pre-wired for
    `microsoft-foundry` spokes
- Documents the current **12-scenario upstream validation sequence** and
  the four-notebook strongly recommended baseline.
- Documents the **post-deploy hand-off** to `threadlight-citadel-spoke`
  (per-team access contracts) and `threadlight-govern` (in-process governance).

### Doesn't

- **Doesn't fork or vendor** the upstream Bicep. The deployment uses a
  detached Git checkout at the exact pinned SHA. `azd init` cannot pin a
  commit when given `--branch`, so branch-based initialization is forbidden.
- **Doesn't onboard spokes.** That's `threadlight-citadel-spoke` — a
  single `az deployment sub create` against
  `bicep/infra/citadel-access-contracts/main.bicep`.
- **Doesn't add in-process governance.** That's `threadlight-govern` — runs
  inside the agent process, before/after every tool call.
- **Doesn't manage post-deploy upgrades.** The
  `bicep/infra/apim-gateway-upgrade/` flow (StandardV2 → newer SKUs,
  policy fragment refresh) is upstream-owned.
- **Doesn't onboard LLM backends.** That's the
  `validation/llm-backend-onboarding-runner.ipynb` notebook upstream.

| Want to do this | Use this skill instead |
|---|---|
| Wire your agent project into a deployed hub | `threadlight-citadel-spoke` |
| Add per-tool-call governance inside MAF/Foundry agents | `threadlight-govern` |
| Deploy a single-resource Foundry inside a private VNet (no APIM) | `microsoft-foundry` |
| Switch tenants, isolate az/azd config dirs | `threadlight-tenant-isolation` |
| Apply MCAPS pilot tagging conventions (`SecurityControl: Ignore`, `AZURE_TAGS`) | `threadlight-deploy/references/azd-modules` |
| Get App Insights traces from the deployed hub into your spoke | `threadlight-deploy/references/observability` |

From aiappsgbb/threadlight-skills, MIT.

More from aiappsgbb/threadlight-skills

Signals

Stars
2
Forks
5
Open issues
5
Last commit (this folder)
Oct 5, 2026 (23 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.1.7
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aiappsgbb

Cite this page

threadlight-citadel-hub skill. Agent Mart. https://agentmart.dev/skills/aiappsgbb-threadlight-citadel-hub (last updated 2026-10-24)