go-hichat-api: Skill for Claude Code

.claude/skills/onboard/SKILL.md

onboard is a skill for Claude Code from iceymoss/go-hichat-api. It costs 29 tokens per session (544 once invoked), scanned A, original, Apache-2.0.

An onboarding guide to the go-hichat-api backend, including its services, request flows, development commands, and project rules. It explains how HTTP, WebSocket, remote procedure call, database, and message-queue parts connect.

In plain words
What is it for?
Use it to understand the service layout, follow data through the system, find entry points for new APIs, RPC methods, or database tables, and locate the most important development rules.
Why use it?
It gives new contributors a map of the project before they change code. An RPC is a call from one service to another, while a WebSocket keeps a live connection open for ongoing messages.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is iceymoss/go-hichat-api's own configuration. It tells Claude Code how to work on go-hichat-api 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 go-hichat-api configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iceymoss/go-hichat-api. 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/iceymoss/go-hichat-api/main/.claude/skills/onboard/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/iceymoss/go-hichat-api

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 onboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/iceymoss/go-hichat-api/onboard/github.svg)](https://agentmods.dev/skills/iceymoss/go-hichat-api/onboard)
Your own site
<a href="https://agentmods.dev/skills/iceymoss/go-hichat-api/onboard"><img src="https://agentmods.dev/badge/skills/iceymoss/go-hichat-api/onboard/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 onboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/iceymoss/go-hichat-api/onboard"><img src="https://agentmods.dev/badge/skills/iceymoss/go-hichat-api/onboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 544 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 pass 7 Sept 2026
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.00029 $0.00544
Opus 5 $0.00015 $0.00272
Sonnet 5 $0.00006 $0.00109
Haiku 4.5 $0.00003 $0.00054

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

Security

Grade A, and why

onboard 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 9d 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/onboard/SKILL.md · 51 lines

What it actually says

帮助新成员快速理解 go-hichat-api 的架构与开发流程。

步骤

  1. 读取根 CLAUDE.md(若不存在,先建议运行 /init)和 README.md,提炼项目简介
  2. 列出 apps/* 各服务的层(api / rpc / ws / mq / cron / models
  3. 说明数据流:
    • HTTP:客户端 → apps/<svc>/api(go-zero handler/logic)→ 调 apps/<svc>/rpc/<svc>clientapps/<svc>/rpc/internal/logicmodels(DB)
    • WS:客户端 → apps/im/ws(连接管理 + 心跳 + ack)→ 业务逻辑 → 投递到 Kafka 或直接转发
    • 异步:业务投递 Kafka → apps/task/mq 消费 → 写库或回推 ws
  4. 说明契约来源:.api(HTTP)和 .proto(gRPC)是唯一真相,代码用 goctl 生成
  5. 列出最常见的 5 类任务及对应入口(见输出格式)
  6. 列出最重要的 5 条规则(来自 .claude/rules/),不复制内容只指路

输出格式

## 项目简介
(2-3 句)

## 架构数据流
(一段话或一个 ASCII 图)

## 服务速览
| 服务 | 层 | 一句话用途 |

## 开发环境
- 依赖: MySQL / Redis / Etcd / Mongo / Kafka(详见 README)
- 启动: ./hichat2.sh
- 测试: go test ./... -count=1
- 前端: cd web && bun dev

## 日常开发入口
- 新接口: /new-api
- 新 RPC: /new-rpc
- 新表:   /new-model
- 起服务: /run-services
- 跑测试: /gotest
- 审 diff: /goreview

## 必读规则
(5 条最重要的,每条一行 + 链接到 .claude/rules/<file>.md)

简洁输出,不展开任何细节,需要时让用户读对应规则文件。

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. 9d ago First seen · 51 lines · 29 tokens per session scan A 0a04ffc54108

Subscribe to this mod's changes

onboard is a skill published in the GitHub repository iceymoss/go-hichat-api (41 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 544 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

api-onboarding

Reduce time-to-first-API-call (TTFAC) by optimizing every step of the developer onboarding journey. This skill covers authentication simplification, sandbox environments, interactive documentation, and identifying and eliminating common failure points.

sickn33/agentic-awesome-skills · 46 tokens

nw-sd-case-studies

25 real-world system design case studies condensed from Alex Xu's System Design Interview Vol 1 and 2 - requirements, architecture, deep dive insights, key takeaways.

nWave-ai/nWave · 40 tokens

nw-ddd-tactical

Tactical DDD — aggregate design rules, entities, value objects, domain events, repositories, domain services, and anti-pattern detection.

nWave-ai/nWave · 32 tokens

system-design-case-catalog

Answer classic system design problems as constraint-to-solution sketches and coach interview practice: URL shortener, rate limiter, news feed, chat, notification, autocomplete, crawler, unique id. Use for interview practice or naming the closest known shape for a new problem.

HoangNguyen0403/agent-skills-standard · 58 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

lw-lms-backend-extend

Backend extension contract for LW LMS v1.6.0. Use when extending enrollment, access, source-scoped revocation, progress, certificates, automation, analytics, settings tabs, companion-plugin logic, lwlmsaftergrant, lwlmsafterrevoke, lwlmspregrant, lwlmshascourseaccess, AccessChecker, AccessRepository, AccessQueries…

Lonsdale201/wp-agent-skills · 134 tokens