kg-setup

kg-setup is a command for Claude Code from southlab-ai/Claude-Plugin-Marketplace. It costs 20 tokens per session (191 once invoked), scanned A, original, MIT.

A setup command for connecting Horacio’s knowledge graph, or KG, to Claude or Codex through a personal API key. An API key is a secret credential that lets software access an account.

In plain words
What is it for?
It helps run a local onboarding script, configure Claude, Codex, and macOS apps, then test access to curriculum and resource queries.
Why use it?
It removes the need to configure each application by hand while keeping the key out of the chat.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the kg-educacion plugin — 5 skills, 1 command shipped together

Good fit It helps run a local onboarding script, configure Claude, Codex, and macOS apps, then test access to curriculum and resource queries.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add southlab-ai/Claude-Plugin-Marketplace
Claude Code
/plugin install kg-educacion

Made for: Claude Code.

Or install kg-educacion, the plugin that ships this one along with the rest of its 5 skills, 1 command.

Wrote 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.

agentmods badge for kg-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/southlab-ai/claude-plugin-marketplace/kg-setup/github.svg)](https://agentmods.dev/commands/southlab-ai/claude-plugin-marketplace/kg-setup)
Your own site
<a href="https://agentmods.dev/commands/southlab-ai/claude-plugin-marketplace/kg-setup"><img src="https://agentmods.dev/badge/commands/southlab-ai/claude-plugin-marketplace/kg-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kg-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/southlab-ai/claude-plugin-marketplace/kg-setup"><img src="https://agentmods.dev/badge/commands/southlab-ai/claude-plugin-marketplace/kg-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00191
Opus 5 $0.00010 $0.00096
Sonnet 5 $0.00004 $0.00038
Haiku 4.5 $0.00002 $0.00019

Measured 10d ago against content hash 1e3bfa7dddba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

kg-setup 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 10d 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.

plugins/kg-educacion/commands/kg-setup.md · 21 lines

What it actually says

Sigue la skill setup hasta dejar el plugin conectado.

  1. El usuario obtiene su key en Horacio → Mi cuenta → API key para Codex y MCP.

  2. No le pidas que pegue el secreto en el chat.

  3. Pídele que ejecute localmente:

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/kg-onboard.sh"
    

    El script pide la key sin eco y configura Claude, Codex y apps GUI de macOS.

  4. Tras reiniciar el cliente, prueba consultar_curriculum y, si la cuenta tiene acceso material, consultar_recursos.

La key conserva los permisos actuales de la cuenta; no concede features ni materiales por sí misma y no necesita que el usuario gestione capabilities.

Changes

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.

  1. 10d ago First seen · 21 lines · 20 tokens per session scan A 1e3bfa7dddba

Subscribe to this mod's changes

kg-setup is a command published in the GitHub repository southlab-ai/Claude-Plugin-Marketplace (2 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 191 once invoked, about $0.0001 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-31.

Related

Other commands, from other repositories

memory-migrate

Migrate legacy .flow/memory/{pitfalls,conventions,decisions}.md flat files into the categorized YAML schema — host agent classifies each entry directly.

gmickel/flow-next · 38 tokens

ccr

CCR (Compressed Context with Retrieval) — recall the full original of context that greatcto compressed/filtered out, by its short id. The retrieval half of the compression layer.

avelikiy/great_cto · 36 tokens

consolidate

Write a compact checkpoint summary of the current frontier.

ProjectDXAI/labrat · 0 tokens

culture-onboarding-90

Design a 90-day onboarding architecture for a role. First day (psychological safety + belonging activation), first week (relationship + role context + early wins), first month (skill ramp + integration + baseline), first quarter (autonomous performance + cultural integration check). Written-first elements for…

frankxai/Starlight-Intelligence-System · 101 tokens

perf-coaching-protocol

Generate a 60-minute solution-focused + CBT-grounded coaching session script for a manager-as-coach engagement. Coaches use questions, not advice. Produces session structure (check-in → focus → scaling → exception-finding → small-step → close), follow-up prompts, and the manager-as-coach training notes that name the…

frankxai/Starlight-Intelligence-System · 83 tokens

perf-conflict-mediation

Psychologist-grade conflict mediation between two parties. Produces 90-minute mediation session structure — separate prep with each party (each three-conversations narrative collected privately) + joint session structure with psychological safety design + commitments + follow-up. Names what to escalate to professional…

frankxai/Starlight-Intelligence-System · 95 tokens