agent-kernel: Skill for Claude Code

.agents/skills/ak-dev-new-queue-transport/SKILL.md

ak-dev-new-queue-transport is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 105 tokens per session (2,609 once invoked), scanned A, original, Apache-2.0.

A development guide for adding a new message-queue transport to Agent Kernel. A message queue is a service that holds work until a worker processes it.

In plain words
What is it for?
Use it to connect another message broker to the execution pipeline and implement its transport and consumer interfaces.
Why use it?
It explains the ordering, retry, duplicate-message, and parallel-processing rules that a new queue service must preserve.

Skill for Claude CodeCodex

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

This is yaalalabs/agent-kernel's own configuration. It tells Claude Code and Codex how to work on agent-kernel 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 agent-kernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yaalalabs/agent-kernel. 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/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-new-queue-transport/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yaalalabs/agent-kernel

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 ak-dev-new-queue-transport

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport/github.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport/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 ak-dev-new-queue-transport

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-queue-transport.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,609 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 165
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00105 $0.02609
Opus 5.5 $0.00042 $0.01044
Sonnet 5.5 $0.00021 $0.00522
Haiku 4.5 $0.00011 $0.00261

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

Security

Grade A, and why

ak-dev-new-queue-transport 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 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.

Makes network callslowCapability

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

- `TransportConsumer`: `fetch(batch_size, wait_seconds)`, `ack`, `nack`, `dead_letter`,
.agents/skills/ak-dev-new-queue-transport/SKILL.md · 185 lines

How it starts

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

Adding a New Queue Transport

This guide walks through adding a new queue transport to the pipeline (ak-py/src/agentkernel/pipeline/). Use the shipped implementations as references, in increasing order of complexity:

  • transport/in_memory.py: the semantics in their purest form, no broker
  • transport/sqs.py: a broker with native FIFO groups, visibility timeout, and dedup
  • transport/nats.py: a broker where per-session ordering is built client-side (partitioned subjects, one durable consumer per partition, max_ack_pending=1)
  • transport/kafka.py + transport/bookkeeping.py: a broker with no per-message acknowledgement model, so receive counts and dedup are rebuilt on a bookkeeping store

Read .agents/skills/ak-dev-architecture (the pipeline section) first if you have not.

The Semantics Contract

Every transport must reproduce the SQS FIFO semantics the pipeline was extracted from (docs/specs/495-onprem-kubernetes/research/current-queue-mode.md):

  1. Per-group FIFO with one in-flight message per group: group_id is the session id; a session's turns never run concurrently or out of order, while distinct sessions run in parallel.
  2. Bounded at-least-once redelivery with an exact receive_count: the ConsumerLoop compares it to max_receive_count to fire the permanent-failure hook, so it must be exact, not approximate.
  3. Publish-time deduplication on dedup_id within a window (SQS parity: 5 minutes).
  4. Attribute round-tripping: QueueMessage.attributes (request id, user id, status code) must survive the trip byte-identically.
  5. Batch fetch with a bounded wait, returning fewer than batch_size rather than blocking past the wait.
  6. Queue isolation: INPUT and OUTPUT never see each other's messages.

Where the broker genuinely cannot provide a guarantee, the contract suite has an explicit, documented opt-out (see timeout_redelivery in pipeline/testing.py, which Kafka sets to False because its consumer model has no visibility timeout). Never fake a guarantee; declare its absence and justify it in the subclass.

Read the full file on GitHub · 185 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. 1mo ago Changed · +5 lines dd0d2201a671
  2. 1mo ago Changed · +3 lines 50cf1f614d36
  3. 2mo ago Changed · +7 lines e001efeb0a58
  4. 2mo ago First seen · 170 lines · 105 tokens per session scan A 1fc978d9d2a9

Subscribe to this mod's changes

ak-dev-new-queue-transport is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 105 tokens to every session and 2,609 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

ak-dev-new-queue-transport compared with skills from other repositories

ak-dev-new-queue-transport next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-dev-new-queue-transportyaalalabs/agent-kernelSkill192yesterdayApache-2.0A105Claude Code, Codex
notionArvo-AI/auroraSkill454yesterdayApache-2.0A23Claude Code
datadogArvo-AI/auroraSkill454yesterdayApache-2.0A28Claude Code
postmortemArvo-AI/auroraSkill454yesterdayApache-2.0A23Claude Code, Codex
corootArvo-AI/auroraSkill454yesterdayApache-2.0A35Claude Code
githubArvo-AI/auroraSkill454yesterdayApache-2.0A24Claude Code
slackArvo-AI/auroraSkill454yesterdayApache-2.0A13Claude Code, Codex