Agent skill

Hns Moaiadk Dev Reference

by modu-ai in modu-ai/moai-adk

moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10).

Apache-2.0Auto-check passedDevelopment

Install Hns Moaiadk Dev Reference

skills CLI
$ npx skills add modu-ai/moai-adk --skill hns-moaiadk-dev-reference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modu-ai/moai-adk hns-moaiadk-dev-reference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/hns-moaiadk-dev-reference .claude/skills/hns-moaiadk-dev-reference && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hns-moaiadk-dev-reference
GitHub stars
1.2k
Token cost
~937 tokens
SKILL.md length
254 words
Files
1
Skills in repo
48
Repo updated
First seen
Licence
Apache-2.0

At a glance

moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10).

  • Works in 4 steps: Update CHANGELOG.md with new version entry → Create git tag: git tag v1.0.0 → Push tag: git push origin v1.0.0 → …
  • Tasks that involve Shell scripting
  • SKILL.md covers Version Management (from…, Hook Development (from… and Build & Dev Commands (from…
  • Calls make, git and go

What it does

Hns Moaiadk Dev Reference is an agent skill from modu-ai/moai-adk. moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10). Load only when performing these specific tasks.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Shell scripting, Deployment and Hooks and plugins. It works with Bash, Git and Python. The repository describes itself as: Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Shell scripting
  • Tasks that involve Deployment
  • Tasks that involve Hooks and plugins

Example prompts

  • “/hns-moaiadk-dev-reference”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit 2aab5f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make
    • git
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hns Moaiadk Dev Reference loads about 937 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 254 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~937

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modu-ai/moai-adk at commit 2aab5f7, republished under its Apache-2.0 licence (© modu-ai). 254 words, ~937 tokens.

Download SKILL.mdSave it as .claude/skills/hns-moaiadk-dev-reference/SKILL.md (or your agent's skills folder).
name
hns-moaiadk-dev-reference
description
moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10). Load only when performing these specific tasks.

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:

bash
# 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:

bash
#!/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)
Hook Command Format

settings.json hook configuration:

json
{
  "hooks": {
    "SessionStart": [{
      "hooks": [{
        "command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/moai/handle-session-start.sh\"",
        "timeout": 5
      }]
    }]
  }
}

Key Rules:

  • [HARD] Always quote $CLAUDE_PROJECT_DIR: "$CLAUDE_PROJECT_DIR"
  • [HARD] Use full path to hook wrapper script
  • [HARD] Set appropriate timeout. MoAI policy default is 5 seconds (the Claude Code platform default is 10 minutes; MoAI tightens this to 5 seconds to avoid stalling the session).
Platform Differences

macOS/Linux:

json
"command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/moai/hook.sh\""

Windows:

json
"command": "\"%CLAUDE_PROJECT_DIR%\\.claude\\hooks\\moai\\hook.sh\""

Build & Dev Commands (from CLAUDE.local.md §10)

Common Commands
bash
# Build the project
make build

# Run tests
make test

# Run with race detection
make test-race

# Run linter
make lint

# Format code
make fmt

# Install locally
make install

# Clean build artifacts
make clean

# Run go fix modernizers
make fix
Development Workflow
bash
# 1. Edit templates
vim internal/template/templates/.claude/skills/moai/SKILL.md

# 2. Regenerate embedded files
make build

# 3. Run tests
go test ./internal/template/...

# 4. Test locally
./moai init test-project

# 5. Commit
git add internal/template/templates/
git commit -m "feat(template): update SKILL.md"

© modu-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/hns-moaiadk-dev-reference of modu-ai/moai-adk.

Open the folder on GitHubat commit 2aab5f7

Compare with similar skills

Hns Moaiadk Dev Reference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hns Moaiadk Dev Reference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hns Moaiadk Dev Reference this skillmodu-ai/moai-adk1.2k—~937Automated safety check: PassApache-2.0
Claude Code Statusline Writerlexler/skill-factory239—~872Automated safety check: PassApache-2.0
ReleaseMadAppGang/claude-code285—~1.2kAutomated safety check: PassMIT
CLI DeveloperJeffallan/claude-skills12k1 repos~1.2kAutomated safety check: PassMIT
Release Lithoxylmahmoud/lithoxyl146—~1.3kAutomated safety check: PassBSD-3-Clause
Publish Plugins Version Bumpvinta/hal-9000138—~1kAutomated safety check: PassMIT

Similar skills

  • Claude Code Statusline Writer

    lexler/skill-factory

    Guides writing and debugging Claude Code status line scripts that read session JSON from stdin and print one line of text.

    239 GitHub stars~872 tokensUpdated today
    DevelopmentAuto-check passed
  • Release

    MadAppGang/claude-code

    Plugin release process for MAG Claude Plugins marketplace. An agent skill from MadAppGang/claude-code.

    285 GitHub stars~1.2k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • CLI Developer

    Jeffallan/claude-skills

    Walks through designing, building and polishing a command-line tool: user workflow and command hierarchy, implementation in commander, click, typer or cobra, completions and cross-platform testing.

    12k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Release Lithoxyl

    mahmoud/lithoxyl

    Walks through releasing the lithoxyl Python package to PyPI: CalVer version bump, tagging, pushing and checking the published release.

    146 GitHub stars~1.3k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Finds which plugins in the repository changed, bumps only the ones not already bumped since origin/main, and checks that each plugin's two manifests stay in sync.

    138 GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Nerd Font Icon Lookup

    malob/nix-config

    Works around Claude Code filtering private-use Unicode so agents can read and write Nerd Font icons in Starship, tmux and prompt configs.

    463 GitHub stars~697 tokensUpdated 6 days ago
    DevelopmentAuto-check passed

More from modu-ai/moai-adk

All 48 skills in this repo
  • Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.

    1.2k GitHub stars~5.2k tokensUpdated today
    Auto-check: notes
  • MoAI Foundation Core

    modu-ai/moai-adk

    Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

    1.2k GitHub stars~5k tokensUpdated today
    Auto-check passed
  • MoAI SPEC Workflow

    modu-ai/moai-adk

    Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • MoAI TDD Workflow

    modu-ai/moai-adk

    Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

    1.2k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • MoAI Worktree Management

    modu-ai/moai-adk

    Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Watches a pull request's CI checks after creation, separates required from auxiliary failures, applies limited safe fixes and escalates anything semantic to you.

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check: notes

Works with

Questions about Hns Moaiadk Dev Reference

What does Hns Moaiadk Dev Reference do?

moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10). Hns Moaiadk Dev Reference is an agent skill from modu-ai/moai-adk. moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10).

When should I use Hns Moaiadk Dev Reference?

Hns Moaiadk Dev Reference fits situations like: tasks that involve Shell scripting; tasks that involve Deployment; tasks that involve Hooks and plugins.

How do I install Hns Moaiadk Dev Reference in Claude Code?

Run `npx skills add modu-ai/moai-adk --skill hns-moaiadk-dev-reference -a claude-code`. Or copy the skill folder (.claude/skills/hns-moaiadk-dev-reference in modu-ai/moai-adk) into .claude/skills/hns-moaiadk-dev-reference in your project. Claude Code loads it when a task matches its description.

How do I install Hns Moaiadk Dev Reference in Codex?

Run `npx skills add modu-ai/moai-adk --skill hns-moaiadk-dev-reference -a codex`. Or copy the skill folder (.claude/skills/hns-moaiadk-dev-reference in modu-ai/moai-adk) into .agents/skills/hns-moaiadk-dev-reference in your project. Codex loads it when a task matches its description.

Can I use Hns Moaiadk Dev Reference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modu-ai/moai-adk --skill hns-moaiadk-dev-reference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hns-moaiadk-dev-reference, .gemini/skills/hns-moaiadk-dev-reference, .github/skills/hns-moaiadk-dev-reference and .opencode/skills/hns-moaiadk-dev-reference in your project.

What does Hns Moaiadk Dev Reference need to run?

Going by SKILL.md and its folder, Hns Moaiadk Dev Reference needs the command-line tools its instructions call (make, git and go). Our summary lists: Python 3.

Does Hns Moaiadk Dev Reference access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Hns Moaiadk Dev Reference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hns Moaiadk Dev Reference use?

Hns Moaiadk Dev Reference is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hns Moaiadk Dev Reference use?

About 937 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hns Moaiadk Dev Reference?

Skills that share tags, products or a category with Hns Moaiadk Dev Reference: Claude Code Statusline Writer (lexler/skill-factory, 239 stars), Release (MadAppGang/claude-code, 285 stars), CLI Developer (Jeffallan/claude-skills, 12k stars) and Release Lithoxyl (mahmoud/lithoxyl, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hns Moaiadk Dev Reference?

modu-ai (a GitHub organization) maintains it in modu-ai/moai-adk, which has 1,230 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 9, 2026.

Source: modu-ai/moai-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.