moai-adk: Skill for Claude Code

.claude/skills/hns-moaiadk-dev-reference/SKILL.md

hns-moaiadk-dev-reference is a skill for Claude Code from modu-ai/moai-adk. It costs 54 tokens per session (1,051 once invoked), scanned A, original, Apache-2.0.

A local development reference for managing versions and building the MoAI ADK Go project. It documents which files and Git tags provide version information and how builds receive that version.

In plain words
What is it for?
Checking version sources, injecting a version into Go builds, using the Makefile for versioned builds, and identifying files to update during a release.
Why use it?
It prevents different files or builds from showing conflicting versions. It also keeps release-related documentation and configuration in sync.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: reads .claude/ paths; mentions Claude Code.

This is modu-ai/moai-adk's own configuration. It tells Claude Code how to work on moai-adk 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 moai-adk configures →

About the project

MoAI-ADK is a Go-based harness that organizes and verifies Claude Code work across planning, implementation, synchronization, and review stages. Developers use it to structure agentic coding tasks, apply quality gates, and route work across language models, while the catalogue entries extend its workflow with skills, hooks, commands, MCP servers, instructions, and settings.

modu-ai/moai-adk · 1,204 stars · on GitHub · adk.mo.ai.kr

Reuse

Borrowing it

Nothing to install: this file belongs to modu-ai/moai-adk. 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/modu-ai/moai-adk/main/.claude/skills/hns-moaiadk-dev-reference/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/modu-ai/moai-adk

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 hns-moaiadk-dev-reference

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference/github.svg)](https://agentmods.dev/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference/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 hns-moaiadk-dev-reference

Your own site · 80×15
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/hns-moaiadk-dev-reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,051 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

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 →

  • high Rogue Agent · line 164
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Agent Snooping · line 151
    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.00054 $0.01051
Opus 5 $0.00027 $0.00526
Sonnet 5 $0.00011 $0.00210
Haiku 4.5 $0.00005 $0.00105

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

Security

Grade A, and why

hns-moaiadk-dev-reference 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 10d 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.

.claude/skills/hns-moaiadk-dev-reference/SKILL.md · 166 lines

How it starts

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

hns-moaiadk-dev-reference

moai-adk-go 로컬 dev 레퍼런스 — CLAUDE.local.md §5/§7/§10 의 작업 특화 상세를 이곳으로 이관 (lazy-load). 세션마다 필요 없는 참고 자료. 항상-로드 컨텍스트 절감용. 소유: hns-* 네임스페이스 (user-owned, moai update 보존 — CLAUDE.local.md §24). 템플릿 미러 금지.


Version Management (from CLAUDE.local.md §5)

Single Source of Truth

  • [HARD] go.mod module version + git tags are the authoritative sources
  • [HARD] pkg/version/version.go reads from git tags at build time

Version Reference:

  • Authoritative Source: Git tags (e.g., v1.0.0)
  • Runtime Access: pkg/version/version.go via git describe
  • Config Display: .moai/config/sections/system.yaml (updated by release process)

Build Version Injection

Version is injected at build time using ldflags:

# Build with version injection
go build -ldflags="-X github.com/modu-ai/moai-adk/pkg/version.Version=v1.0.0"

# Makefile handles this automatically
make build VERSION=1.0.0

Files Requiring Version Sync

When releasing new version, update:

Documentation Files:

  • README.md (Version line)
  • README.ko.md (Version line)
  • CHANGELOG.md (New version entry)

Configuration Files:

  • .moai/config/sections/system.yaml (moai.version)
  • internal/template/templates/.moai/config/sections/system.yaml.tmpl (moai.version)

Release Process

  1. Update CHANGELOG.md with new version entry
  2. Create git tag: git tag v1.0.0
  3. Push tag: git push origin v1.0.0
  4. Build release binaries: make release VERSION=1.0.0

Hook Development (from CLAUDE.local.md §7)

[HARD] Shell Script Hooks Only

moai-adk-go uses shell scripts for hooks, NOT Python:

Hook Wrapper Pattern:

#!/bin/bash
# .claude/hooks/moai/handle-session-start.sh

# Read stdin JSON from Claude Code
INPUT=$(cat)

# Call moai binary with hook subcommand
moai hook session-start <<< "$INPUT"

Why Shell Scripts:

  • Faster execution (no Python startup overhead)
  • Always available (no dependency on uv/python)
  • Cross-platform (bash, /bin/sh)

Read the full file on GitHub · 166 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. 10d ago First seen · 166 lines · 54 tokens per session scan A fa9d6f8a669b

Subscribe to this mod's changes

hns-moaiadk-dev-reference is a skill published in the GitHub repository modu-ai/moai-adk (1,204 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 1,051 once invoked, about $0.0003 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-30.