hns-moaiadk-patterns

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

A map of the moai-adk-go codebase, a Go command-line program with command handling, templates, configuration, hooks, CI, and a specification workflow. It lists the main subsystems and their source locations.

In plain words
What is it for?
Use it when changing CLI commands, templates, configuration, hooks, CI, or the project's specification process. It is focused on moai-adk-go rather than general Go development.
Why use it?
It helps an agent find the right files and understand how the binary, embedded templates, configuration, and development lifecycle connect. This reduces navigation mistakes in an unfamiliar repository.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it when changing CLI commands, templates, configuration, hooks, CI, or the project's specification process. It is focused on moai-adk-go rather than general Go development.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-adk/hns-moaiadk-patterns
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,207 stars · on GitHub · adk.mo.ai.kr

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.

Any agent
npx skills add modu-ai/moai-adk --skill hns-moaiadk-patterns
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-patterns

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/hns-moaiadk-patterns"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/hns-moaiadk-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,992 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: 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 163
    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.00116 $0.01992
Opus 5 $0.00058 $0.00996
Sonnet 5 $0.00023 $0.00398
Haiku 4.5 $0.00012 $0.00199

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

Security

Grade A, and why

hns-moaiadk-patterns 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 12d 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-patterns/SKILL.md · 164 lines

How it starts

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

moai-adk-go Domain Patterns

Architecture Quick Reference

moai-adk-go is a Go binary (moai) with four subsystems:

  1. CLI (internal/cli/*.go, cmd/moai/) — Cobra commands: init, update, hook, build, glm, cc, cg, version, doctor, spec. Subcommand handlers read stdin JSON for hooks, emit structured output for the orchestrator.
  2. Template system (internal/template/) — go:embed-based scaffolding. Source at internal/template/templates/, embedded into the binary via //go:embed all:templates in internal/template/embed.go (no generated .go file). make build recompiles the binary. TemplateContext ({{.GoBinPath}} / {{.HomeDir}}) renders at moai init.
  3. Config (internal/config/) — defaults.go (single source for thresholds), envkeys.go (env-var constants), TemplateContext renderer.
  4. Hook + CI (.claude/hooks/moai/*.sh, .github/workflows/) — bash wrapper hooks calling moai hook <event>; CI guard enforces template neutrality.

Plus the SPEC lifecycle (.moai/specs/) governing the project's own development (plan→run→sync→Mx).

Key Source Paths

Subsystem Path Notes
Cobra commands internal/cli/*.go wired from cmd/moai/
Template source internal/template/templates/** edit HERE first
Embedded assets internal/template/embed.go //go:embed all:templates (no generated file)
Config defaults internal/config/defaults.go threshold SSOT
Env constants internal/config/envkeys.go no hardcoded env names
SPEC docs .moai/specs/SPEC-*/ spec/plan/acceptance/progress
Era classifier internal/spec/era.go ClassifyEra() H-1..H-6
Hook scripts .claude/hooks/moai/*.sh bash only, no Python
CI workflows .github/workflows/*.yaml neutrality guard active
Harness agents .claude/agents/harness/*.md USER-OWNED (this skill)

Pipeline Specialist Delegation Map

Read the full file on GitHub · 164 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. 12d ago First seen · 164 lines · 116 tokens per session scan A 0be39f1baee4

Subscribe to this mod's changes

hns-moaiadk-patterns is a skill published in the GitHub repository modu-ai/moai-adk (1,207 stars, last pushed today), licensed Apache-2.0. It adds 116 tokens to every session and 1,992 once invoked, about $0.0006 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.