Agent skill

Chat Gun Backend Contract

by HsienW in HsienW/chat-gun

Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend…

Custom licenceAuto-check passedAI & LLM Engineering

Install Chat Gun Backend Contract

skills CLI
$ npx skills add HsienW/chat-gun --skill chat-gun-backend-contract -a claude-code

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

GitHub CLI
$ gh skill install HsienW/chat-gun chat-gun-backend-contract --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/HsienW/chat-gun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/chat-gun-backend-contract .claude/skills/chat-gun-backend-contract && 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
chat-gun-backend-contract
GitHub stars
143
Token cost
~2.1k tokens
SKILL.md length
987 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend…

  • Works in 6 steps: Approved OpenSpec proposal, specs,… → Root AGENTS.md → backend/AGENTS.md → …
  • Tasks that involve Building AI agents
  • SKILL.md covers Instruction precedence, Existing stack must be preserved, Legacy-code policy and Skill routing, plus 9 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Chat Gun Backend Contract is an agent skill from HsienW/chat-gun. Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend code under backend/ in chat-gun.

Its SKILL.md is about 2.1k 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 AI & LLM Engineering, covering Building AI agents. It works with LangGraph, Model Context Protocol, TypeScript and LangChain. The repository describes itself as: 🤖 A full-stack Agent Chat Runtime for pre-production validation, built with act, TypeScript, and LangGraph JS combining streaming, multimodal, HITL, and tools with durable…

When your agent uses it

  • Tasks that involve Building AI agents

Example prompts

  • “/chat-gun-backend-contract”

Requirements

  • Node.js

Workflow steps

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

  1. Approved OpenSpec proposal, specs, design, and tasks
  2. Root AGENTS.md
  3. backend/AGENTS.md
  4. Existing public contracts, tests, and accepted runtime behavior
  5. This skill
  6. External general-purpose skills

What it can do on your machine

Read from SKILL.md and the folder at commit 4569cb0. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Chat Gun Backend Contract loads about 2.1k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 987 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 987 words (~2,122 tokens).

name
chat-gun-backend-contract

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/chat-gun-backend-contract of HsienW/chat-gun.

Open the folder on GitHubat commit 4569cb0

Compare with similar skills

Chat Gun Backend Contract 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.

Chat Gun Backend Contract compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chat Gun Backend Contract this skillHsienW/chat-gun143—~2.1kAutomated safety check: PassCustom licence
Agent Inspectrajudandigam/agent-inspect165—~424Automated safety check: PassMIT
Tool Designagentailor/fullstack-langgraph-nextjs-agent132—~3.2kAutomated safety check: PassMIT
Magic ResumeMagic-Resume/Magic-Resume101—~663Automated safety check: PassMIT
Add Example AgentGetBindu/Bindu10k—~1.1kAutomated safety check: NotesCustom licence
Failproof AI SDK IntegrationFailproofAI/failproofai5.3k—~6kAutomated safety check: PassCustom licence

Similar skills

  • Agent Inspect

    rajudandigam/agent-inspect

    Local evidence debugger and trajectory-test toolkit for TypeScript AI agents.

    165 GitHub stars~424 tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Tool Design

    agentailor/fullstack-langgraph-nextjs-agent

    Design and verify tools that AI agents can actually use — for any framework or language (MCP servers, LangChain/LangGraph, function-calling, raw JSON schema; TypeScript, Python, or otherwise).

    132 GitHub stars~3.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Magic Resume

    Magic-Resume/Magic-Resume

    How AI agents integrate with Magic Resume — read and safely edit a user's resumes through the native MCP server (@magic-resume/mcp).

    101 GitHub stars~663 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Add Example Agent

    GetBindu/Bindu

    Add a new self-contained example agent under examples/. An agent skill from GetBindu/Bindu.

    10k GitHub stars~1.1k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Failproof AI SDK Integration

    FailproofAI/failproofai

    Helps instrument a custom Python or TypeScript agent to record events for Failproof AI, verify what gets written, and run an evaluator worker that scores the runs.

    5.3k GitHub stars~6k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Dive Into LangGraph

    luochang212/dive-into-langgraph

    A Chinese-language guide and reference for building agents with LangGraph 1.0, from a first ReAct agent through middleware, memory, MCP, RAG and web search.

    457 GitHub stars~837 tokensUpdated 29 days ago
    AI & LLM EngineeringAuto-check: notes

More from HsienW/chat-gun

All 8 skills in this repo
  • Chat Gun 的前端、OpenSpec、Streaming Event、Tool Renderer、型別邊界、多模態流式鏈路與 React/Vite 編程約束。Use when working on frontend code, tool rendering, streaming contracts, multimodal requests/responses, Weather…

    143 GitHub stars~467 tokensUpdated 6 days ago
    Auto-check passed
  • Node

    HsienW/chat-gun

    Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging…

    143 GitHub stars~1.6k tokensUpdated 6 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Claude Code/CCR coordination tasks without loading unnecessary context.

    143 GitHub stars~939 tokensUpdated 6 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route it to token-efficient stage prompts.

    143 GitHub stars~907 tokensUpdated 6 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context.

    143 GitHub stars~923 tokensUpdated 6 days ago
    Auto-check passed
  • 對 OpenSpec、Git Diff、frontend、bff、backend、LangGraph、Tool、MCP 與安全邊界進行獨立唯讀審查,輸出 Blocker、Major、Minor 與標準 Verdict。

    143 GitHub stars~775 tokensUpdated 6 days ago
    Auto-check passed

Questions about Chat Gun Backend Contract

What does Chat Gun Backend Contract do?

Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend…. Chat Gun Backend Contract is an agent skill from HsienW/chat-gun. Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend code under backend/ in chat-gun.

When should I use Chat Gun Backend Contract?

Chat Gun Backend Contract fits situations like: tasks that involve Building AI agents.

How do I install Chat Gun Backend Contract in Claude Code?

Run `npx skills add HsienW/chat-gun --skill chat-gun-backend-contract -a claude-code`. Or copy the skill folder (.agents/skills/chat-gun-backend-contract in HsienW/chat-gun) into .claude/skills/chat-gun-backend-contract in your project. Claude Code loads it when a task matches its description.

How do I install Chat Gun Backend Contract in Codex?

Run `npx skills add HsienW/chat-gun --skill chat-gun-backend-contract -a codex`. Or copy the skill folder (.agents/skills/chat-gun-backend-contract in HsienW/chat-gun) into .agents/skills/chat-gun-backend-contract in your project. Codex loads it when a task matches its description.

Can I use Chat Gun Backend Contract 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 HsienW/chat-gun --skill chat-gun-backend-contract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chat-gun-backend-contract, .gemini/skills/chat-gun-backend-contract, .github/skills/chat-gun-backend-contract and .opencode/skills/chat-gun-backend-contract in your project.

What does Chat Gun Backend Contract need to run?

SKILL.md names no scripts, command-line tools or credentials: Chat Gun Backend Contract is instructions for the agent only. Our summary lists: Node.js.

Does Chat Gun Backend Contract access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Chat Gun Backend Contract 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 Chat Gun Backend Contract use?

Chat Gun Backend Contract has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Chat Gun Backend Contract use?

About 2.1k tokens (SKILL.md is roughly 8.5k 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 Chat Gun Backend Contract?

Skills that share tags, products or a category with Chat Gun Backend Contract: Agent Inspect (rajudandigam/agent-inspect, 165 stars), Tool Design (agentailor/fullstack-langgraph-nextjs-agent, 132 stars), Magic Resume (Magic-Resume/Magic-Resume, 101 stars) and Add Example Agent (GetBindu/Bindu, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chat Gun Backend Contract?

HsienW (a GitHub user) maintains it in HsienW/chat-gun, which has 143 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 4, 2026.

Source: HsienW/chat-gun on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.