install

install is a skill for Claude Code from lktiep/cortex-hub. It costs 42 tokens per session (557 once invoked), scanned C, original, MIT.

A setup tool for installing or updating Cortex Hub in a project. Cortex Hub provides shared agent instructions, tool connections, enforcement hooks, quality checks, and support for multiple coding environments.

In plain words
What is it for?
Use it to install Cortex Hub, configure its global instructions and tool connection, add enforcement hooks, and support different development environments.
Why use it?
It removes the need to configure those project controls manually and can be run again to update an existing setup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is curl -fsSL "$(curl -fsSL https://api.github.com/repos/lktiep/cortex-hub/contents/scripts/install.sh?ref=master | grep download_url | cut -d'"' -f4)" -o /tmp/cor.

Good fit Use it to install Cortex Hub, configure its global instructions and tool connection, add enforcement hooks, and support different development environments.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lktiep/cortex-hub
agentmods
npx agentmods add skills/lktiep/cortex-hub/install

Made for: Claude Code.

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 install

README.md
[![agentmods](https://agentmods.dev/badge/skills/lktiep/cortex-hub/install/github.svg)](https://agentmods.dev/skills/lktiep/cortex-hub/install)
Your own site
<a href="https://agentmods.dev/skills/lktiep/cortex-hub/install"><img src="https://agentmods.dev/badge/skills/lktiep/cortex-hub/install/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 install

Your own site · 80×15
<a href="https://agentmods.dev/skills/lktiep/cortex-hub/install"><img src="https://agentmods.dev/badge/skills/lktiep/cortex-hub/install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00042 $0.00557
Opus 5.5 $0.00017 $0.00223
Sonnet 5.5 $0.00008 $0.00111
Haiku 4.5 $0.00004 $0.00056

Measured 1mo ago against content hash 050239d6048a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

install scanned grade C with 2 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 1mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL "$(curl -fsSL https://api.github.com/repos/lktiep/cortex-hub/contents/scripts/install.sh?ref=master | grep download_url | cut -d'"' -f4)" -o /tmp/cortex-install.sh && bash /tmp/cortex-install.sh $ARGUMENTS

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(bash:*), Bash(curl:*), Bash(chmod:*), Bash(powershell*), Read, Write, Edit
templates/skills/install/SKILL.md · 47 lines

What it actually says

Cortex Hub — Install

Current Status

!bash -c 'echo "hooks=$(cat .cortex/.hooks-version 2>/dev/null || echo 0)/3 mcp=$(grep -q cortex-hub ~/.claude.json 2>/dev/null && echo ok || echo missing) os=$(uname -s 2>/dev/null || echo Windows)"'

Run

Download via GitHub API (bypasses CDN cache, always latest):

Unix/macOS

curl -fsSL "$(curl -fsSL https://api.github.com/repos/lktiep/cortex-hub/contents/scripts/install.sh?ref=master | grep download_url | cut -d'"' -f4)" -o /tmp/cortex-install.sh && bash /tmp/cortex-install.sh $ARGUMENTS

If the API call fails (rate limited), fallback to raw:

curl -fsSL "https://raw.githubusercontent.com/lktiep/cortex-hub/master/scripts/install.sh" -o /tmp/cortex-install.sh && bash /tmp/cortex-install.sh $ARGUMENTS

Windows PowerShell

$url = (Invoke-RestMethod "https://api.github.com/repos/lktiep/cortex-hub/contents/scripts/install.ps1?ref=master").download_url; Invoke-WebRequest -Uri $url -OutFile $env:TEMP\install.ps1; & $env:TEMP\install.ps1 $ARGUMENTS

If all else fails

Tell the user to clone the repo and run locally:

git clone <your-cortex-hub-repo-url> ~/Sources/cortex-hub
bash ~/Sources/cortex-hub/scripts/install.sh

After Setup

  1. Report what was installed/updated/skipped and which IDEs were configured
  2. If MCP not configured (missing API key), ask user for it:
    • HUB_API_KEY=<key> bash /tmp/cortex-install.sh
  3. If MCP was newly configured, remind: restart IDE to pick up changes
  4. Show quality gate commands from .cortex/project-profile.json
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. 1mo ago First seen · 47 lines · 42 tokens per session scan C 050239d6048a

Subscribe to this mod's changes

install is a skill published in the GitHub repository lktiep/cortex-hub (93 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 557 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

claude-api

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…

Prismer-AI/PrismerCloud · 193 tokens

memory

Persist and retrieve agent memory across sessions — recall via the three-stage protocol (structure route → semantic search → navigation fallback), read via memoryload, see the wiki structure via memorybrowse, write well-placed pages via memorywrite (including section-level append/rewrite), maintain via memorycurate.…

Prismer-AI/PrismerCloud · 122 tokens

tasks

Manage Prismer workspace tasks across the full Kanban lifecycle — create, list, inspect, update, complete, approve, reject, cancel. Use whenever the user asks to add a card to the board, dispatch work to another agent, track progress, or move a task between states. Executes via the cloud task CLI.

Prismer-AI/PrismerCloud · 68 tokens

council-creator

Expert-council meeting protocol. Given a Brief + a persona cast (from persona-generator), propose the council to the Team Manager, and once convened FACILITATE it: each round post a NEW group message that @-mentions the persona-agents by their ASCII usernameSlug, collect their independent replies, stage-summarize…

Prismer-AI/PrismerCloud · 142 tokens

agent-coordination

Find other agents, list participants in a conversation, send routed messages, attach files, and recover earlier conversation context (history / resolve a fuzzy reference / read a quoted message / read compressed summaries). Use whenever you need to delegate to another agent, address a peer in a multi-agent…

Prismer-AI/PrismerCloud · 122 tokens

memory-dream

Curate the workspace memory wiki as its appointed orchestrator. Trigger on a Cloud-scheduled Dream task or a user's direct curation request. Inspect candidates for orphan leaves, near-duplicates, stale pages, remote conflicts and oversized hubs; browse the graph, cluster leaves into INDEX/hub/leaf structure, maintain…

Prismer-AI/PrismerCloud · 133 tokens