kapi

kapi is a skill for Claude Code, Codex from khef-labs/khef-mac. It costs 122 tokens per session (3,011 once invoked), scanned A, original, no licence file.

An API-request skill for creating, saving, and running HTTP requests. An API endpoint is a web address that accepts requests from software and returns data or performs an action.

In plain words
What is it for?
Use it to test an endpoint, create a kapi folder or request, build a service request, save a curl command, run a request against a host, or scaffold a JWT signer.
Why use it?
It keeps API checks and request definitions in one reusable place, including requests that need JWT authentication.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/khef-labs/khef-mac/kapi
Any agent
npx skills add khef-labs/khef-mac --skill kapi
Clone the repo
git clone --depth 1 https://github.com/khef-labs/khef-mac

Made for: Claude Code, Codex.

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 kapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/khef-labs/khef-mac/kapi.svg)](https://agentmods.dev/skills/khef-labs/khef-mac/kapi)
Your own site
<a href="https://agentmods.dev/skills/khef-labs/khef-mac/kapi"><img src="https://agentmods.dev/badge/skills/khef-labs/khef-mac/kapi.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00122 $0.03011
Opus 5 $0.00061 $0.01505
Sonnet 5 $0.00024 $0.00602
Haiku 4.5 $0.00012 $0.00301

Measured 4d ago against content hash acbc58704e0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kapi scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

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

description: This skill should be used when the user asks to "test an API endpoint", "create a kapi folder", "add a kapi request", "build a request for {service} API", "scaffold a JWT signer", "save this curl", "run a re
apps/api/lib/skills/kapi/SKILL.md · 161 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 161 lines · 122 tokens per session scan A acbc58704e0c

Subscribe to this mod's changes

kapi is a skill published in the GitHub repository khef-labs/khef-mac (2 stars, last pushed 15d ago), with no licence file. It adds 122 tokens to every session and 3,011 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-development

Coding standards, conventions, and patterns for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files in the python/ directory.

microsoft/agent-framework · 35 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

background

Use when the user wants to see, inspect, cancel, or prune background agents fired during prior chain runs. Read/manage .hyperflow/background/registry.json and the per-agent output buffers at .hyperflow/background/ .md. Standalone — never auto-invoked. Trigger with /hyperflow:background, "list background agents"…

jeremylongshore/tons-of-skills-marketplace · 89 tokens

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens