xiuxian-artisan-workshop: Skill for Claude Code

.agents/skills/agent-semantic-protocols/SKILL.md

agent-semantic-protocols is a skill for Claude Code, Codex from tao3k/xiuxian-artisan-workshop. It costs 42 tokens per session (4,433 once invoked), scanned A, original, Apache-2.0.

A set of instructions for working with Agent Semantic Protocols, a system for semantic search and related agent commands.

In plain words
What is it for?
Use it when installing ASP hooks, running compact semantic searches, or working with ASP language-provider binaries.
Why use it?
It explains how to handle search results, provider commands, and denied actions consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions Codex.

This is tao3k/xiuxian-artisan-workshop's own configuration. It tells Claude Code and Codex how to work on xiuxian-artisan-workshop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything xiuxian-artisan-workshop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tao3k/xiuxian-artisan-workshop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tao3k/xiuxian-artisan-workshop/main/.agents/skills/agent-semantic-protocols/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tao3k/xiuxian-artisan-workshop

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 agent-semantic-protocols

README.md
[![agentmods](https://agentmods.dev/badge/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols/github.svg)](https://agentmods.dev/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols)
Your own site
<a href="https://agentmods.dev/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols"><img src="https://agentmods.dev/badge/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols/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 agent-semantic-protocols

Your own site · 80×15
<a href="https://agentmods.dev/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols"><img src="https://agentmods.dev/badge/skills/tao3k/xiuxian-artisan-workshop/agent-semantic-protocols.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 4,433 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.00042 $0.04433
Opus 5 $0.00021 $0.02217
Sonnet 5 $0.00008 $0.00887
Haiku 4.5 $0.00004 $0.00443

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

Security

Grade A, and why

agent-semantic-protocols 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 11d 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.

.agents/skills/agent-semantic-protocols/SKILL.md · 360 lines

How it starts

The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Semantic Protocols

[!IMPORTANT] Generated by asp hook install from the repository root SKILL.md template and the current provider activation. Do not edit this installed copy. Edit root SKILL.md or asp.toml, then rerun asp hook install --client <client> ..

ASP Explorer Subagent

When a hook deny message or search pipe output points to asp-explorer, Codex should reuse the ASP search agent thread already opened for the current main task. If no such thread exists, call spawn_agent with fork_turns="none" and include a self-contained ASP Explorer branch prompt plus the safe ASP command group in the message. Keep model, reasoning, and agent-type defaults in Codex config, not in the prompt. Spawn one read-only instance per independent actionFrontier or targetActions branch, and require a compact [asp-search-subagent] role=... action=... evidence=... missing=... next=... risk=... receipt.

Keep reasoning state in the parent. asp-explorer workers receive only the explicit branch prompt through fork_turns="none", do not share sibling context, must not edit files, and must not spawn child subagents. If the custom subagent remains open, reuse it with send_input so it keeps its own thread history. If the custom subagent is unavailable, run the same ASP routes sequentially and synthesize the receipts in the parent.

asp hook install --client codex . registers the role in project Codex config, but a thread that was already running before install may need a reload or new thread before spawn_agent lists asp_explorer.

Provider Activation

This root SKILL.md is the embedded template source used by asp hook install. The installed copy under .agents/skills/agent-semantic-protocols/SKILL.md is rendered from this template plus the current hook activation. Do not hard-code the active language list here: activation is owned by provider binary detection and asp.toml.

Active Providers

Detected from provider binaries plus asp.toml; only activated languages are listed.

Read the full file on GitHub · 360 lines

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. 11d ago First seen · 360 lines · 42 tokens per session scan A 5b00fa29a584

Subscribe to this mod's changes

agent-semantic-protocols is a skill published in the GitHub repository tao3k/xiuxian-artisan-workshop (15 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 4,433 once invoked, about $0.0002 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.