Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search, install and compose AI agent skills, loops and bundles from the LoopSkill marketplace.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
x-api-key标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http loopskill https://app.loopskill.io/api/mcp/http/ --header 'x-api-key: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"loopskill": {
"url": "https://app.loopskill.io/api/mcp/http/",
"headers": {
"x-api-key": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"loopskill": {
"type": "http",
"url": "https://app.loopskill.io/api/mcp/http/",
"headers": {
"x-api-key": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
x-api-key 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 wisechef-ai 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:x-api-key
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.9.65)于26天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A local CLI for skills you already have, plus a self-hostable registry to pull more from. Start with the CLI — it needs no account and makes no network call for import/diff.
Paste this into Claude Code, Codex, Cursor or any coding agent with a shell:
Clone https://github.com/wisechef-ai/loopskill-api, read AGENT_SETUP.md in it,
and follow it to install the loopskill CLI and verify it with the drift demo. Only set up the self-hosted registry (Docker) if I ask for it. Ask me before deleting any data, stopping containers or processes, using sudo, or writing into my real skill directories. Never paste API keys or tokens into this chat. When it works, show me the verify output and what to do next.
The agent will:
venv and the demo directory first, and stop on anything it would have to delete or overwrite;.venv and call it by path;The CLI above needs no key. The hosted registry's MCP endpoint (app.loopskill.io) does, and an agent can get a free one by itself, with no signup form. The enroller generates an Ed25519 key, signs the registration and saves the API key to ~/.config/loopskill/api_key (mode 600) without printing it. It needs bash, curl and OpenSSL 3, and works piped to sh or bash:
curl -fsSL https://app.loopskill.io/api/agents/enroll.sh | sh -s -- my-agent
export LOOPSKILL_API_KEY="$(cat ~/.config/loopskill/api_key)"
Read it first if you like: curl -fsSL https://app.loopskill.io/api/agents/enroll.sh | less. The signed-string protocol behind it is in /.well-known/agent.json (registration).
This is a literal, self-contained transcript. Paste every command below into a clean shell — it fabricates two fake "skill" installs, edits one and deletes the other to simulate drift, then diffs. You will get *exactly* this output; nothing here depends on skills you already have installed.
git clone https://github.com/wisechef-ai/loopskill-api && cd loopskill-api
python3 -m venv .venv && ./.venv/bin/pip install ./cli alias loopskill=./.venv/bin/loopskill # or add ./.venv/bin to PATH loopskill --version
mkdir -p /tmp/loopskill-demo/home/.claude/skills/agent-reach mkdir -p /tmp/loopskill-demo/home/.claude/skills/recipes cat > /tmp/loopskill-demo/home/.claude/skills/agent-reach/SKILL.md <<'EOF'
name: agent-reach description: Give your agent eyes on the internet.
Body v1. EOF cat > /tmp/loopskill-demo/home/.claude/skills/recipes/SKILL.md <<'EOF'
name: recipes description: Recipe search skill.
Body. EOF loopskill import --home /tmp/loopskill-demo/home -o /tmp/loopskill-demo/machine-a.lock.json
cat > /tmp/loopskill-demo/home/.claude/skills/agent-reach/SKILL.md <<'EOF'
name: agent-reach description: Give your agent eyes on the internet.
Body v2 — updated tool list. EOF rm -rf /tmp/loopskill-demo/home/.claude/skills/recipes
loopskill diff /tmp/loopskill-demo/machine-a.lock.json - --home /tmp/loopskill-demo/home
loopskill 0.3.0 loopskill import: wrote /tmp/loopskill-demo/machine-a.lock.json (2 skill(s) across 1 client(s)) loopskill diff: /tmp/loopskill-demo/machine-a.lock.json vs
[claude] DRIFT DETECTED
[codex] in sync (0 skill(s)) [cursor] in sync (0 skill(s)) [hermes] in sync (0 skill(s))
DRIFT FOUND
Exit code is 1 — drift found, script- and CI-friendly. Run loopskill diff again with nothing changed and exit code is 0. That's the whole pitch: two snapshots, one command, drift visible in the time it took to read this paragraph — on the skills you actually have, not a demo, once you drop --home.
import and diff make zero network calls — this isn't a promise in a docstring, it's a structural guarantee: the network-capable code lives in exactly one module (loopskill.pull) that import/diff never import, and cli/tests/test_loopskill_cli.py::test_import_and_diff_make_zero_network_calls proves it by breaking socket.socket for the duration of those commands.
Full CLI reference, lockfile format, and pull/apply (the two commands that DO touch the network, opt-in): [cli/README.md](cli/README.md).
Two things, and the CLI is the one to start with:
import/diff. Point it at any registry that serves the same well-known bundle-index shape for pull/apply, or never call those commands at all.pull/apply can optionally talk to, and that also serves a browsable catalog at loopskill.io. The registry is not the reason to start here — the CLI working on your own machine, before you've made an account, is.The registry also serves 10 vetted loops (scripts/seed_starter_catalog.py). POST /api/loops/{slug}/run is synchronous and works anywhere. Putting a loop on a *fleet member* so it fires on a schedule is a second path with two constraints worth knowing before you build on it:
scripts/loopskill-emit-run.sh. Nothing else observes a fire — not the scheduler, not the server. Omit that line and the loop runs forever while every dashboard shows zero. This is the reason loop_runs sat at 1 for a year.app/loop_apply.py writes the Hermes scheduler's ~/.hermes/cron/jobs.json, and nothing else speaks that format yet. On Codex, Claude or OpenCode hosts scripts/install-loop-apply.sh refuses rather than installing a cron that can never converge. The skill path is cross-vendor; the scheduled-loop path is not.Both are covered end to end in docs/SELF_HOST.md.
pull/apply against your own instance)git clone https://github.com/wisechef-ai/loopskill-api
cd loopskill-api && docker compose up
Zero-config: SQLite, auto-generated dev secrets, a seeded starter catalog. Your dev API key is printed on first boot. Full guide, including the Postgres/production path: [docs/SELF_HOST.md](docs/SELF_HOST.md).
Then run a loop — the runner is live (no LLM needed for verify-mode):
# the zero-config Docker Compose stack always boots with this dev key
curl -X POST localhost:8200/api/loops/hello-world-loop/run \ -H "x-api-key: rec_dev_wiserecipes_local_testing_key"
A fresh registry that doesn't just *list* a loop — it *executes* the loop's success check under enforced bounds and hands you a verdict.
349 app Python files, 85,369 lines of app code, 119 Alembic migrations, 511 test files (clean-checkout counts), 2 GitHub stars, 0 forks (measured 2026-08-21 via gh repo view wisechef-ai/loopskill-api --json stargazerCount,forkCount).
That ratio is real and it isn't a good one. Issue #68 asked about it; the honest answer — including why the codebase grew from a working recipe-search product's battle-tested auth/Stripe/sandbox stack rather than from a blank registry, and the concrete cuts committed as a result — is in docs/decisions/2026-08-11-bundles0811-p4-issue-68-codebase-size.md. Every number above is checked against a live filesystem measurement by tests/test_readme_claims.py on every run — it fails the build if this paragraph drifts from reality the way #68's original numbers did.
| Method | Path | Description |
|---|---|---|
GET | /api/healthz | DB health check |
GET | /api/skills/search | Full-text + vector hybrid skill search |
GET | /api/skills/{slug} | Skill detail + versions |
GET | /api/bundles/discover | Browse public bundles |
GET | /api/loops | List loops (with their safety contracts) |
GET | /api/loops/{slug} | Loop detail — contract, run count, rating |
POST | /api/loops | Publish a loop (validates the contract) |
POST | /api/loops/{slug}/run | Run the loop's verification → objective pass/fail |
POST | /api/loops/{slug}/rate | Rate a loop 1–5 (social-proof signal) |
GET | /api/personalities | List deployable personalities |
MCP-native: agents (Claude Code, Cursor, anything speaking MCP) discover and install over the protocol. There's also a signed-URL tarball path for direct fetch.
FastAPI + SQLAlchemy. The same alembic migration chain runs on SQLite (self-host) and Postgres (hosted) — no create_all drift; the SQLite boot replays the real migrations, so what you self-host is what production runs. Full module layout: [AGENTS.md](AGENTS.md).
APIKeyMiddleware.dispatch()
└─ validate_key(db, x-api-key) └─ request.state.auth_ctx = AuthContext(scope, user_id, tier, …) └─ REST routes / MCP tools / runner call authz.can_*() predicates
API keys are rec_-prefixed and passed in the x-api-key header. Most read endpoints (search, detail, discover) are unauthenticated. Free-tier skills install anonymously with no key (200 + tarball); installing a paid-tier skill, publishing, running, and rating all require a key.
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt pre-commit install # ruff, bandit, mypy --strict, actionlint, yamllint
pytest -q # fast run pytest -n auto --cov=app --cov-fail-under=80 # the CI gate
alembic upgrade head # apply migrations before first start (non-SQLite) uvicorn app.main:app --reload --port 8201
Sandbox (Linux only): the kernel sandbox (
app/sandbox/) needs
firejail or bubblewrap.
Where neither is functional (macOS, hardened containers), the loop runner falls back to bounded
mode — POSIX rlimits + scrubbed env + isolated workspace — so loops still run; the response declares
which
confinementlevel it achieved. Multi-tenant fleet owners set `WR_LOOP_RUN_REQUIRE_SAND
只显示了开头部分;其余内容请在仓库中阅读