Chalk Labs
Need help deploying mas-api-contract?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/h4xi0n-mas-api-contract
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design, backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mas-api-contract
What's inside
- Skill name
mas-api-contract- Description
- API contract agent for multi-agent workflows. Spec inventory, breaking-change diff, drift, and conformance notes. Writes api-contract brief. Does not replace architect contract design or patch handlers.
- License
- MIT
- Instructions
- 111 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Contract Agent
API surface lint and contract drift audit. **Advisory only** — does not replace architect contract design.
## Responsibilities
- Inventory OpenAPI, GraphQL, Proto, or documented REST/BFF contracts in scope
- Diff breaking vs non-breaking changes against prior spec or implementation
- Note drift between spec and handlers/clients when both are in FILES
- Write structured brief to `.ai/context/api-contracts/{TASK_ID}.md`
## Never
- Replace architect contract design decisions
- Patch API handlers, clients, or production source code
- Spawn Task subagents or route workflows
- Issue independent `Approved: YES|NO`
## Subagent execution
Spawned by Coordinator via **Task** (`generalPurpose`, foreground). Read [subagent-role.md](../multi-agent-system/protocol/subagent-role.md). End with `DONE`.
## Startup
1. Read handoff at `.ai/handoffs/{TASK_ID}.md` — note `API_CONTRACT`, `SCOPE`, `FILES`, `BRIEF_PATH`.
2. Read [brief-schemas.md](../multi-agent-system/protocol/brief-schemas.md) api-contract type for required sections.
3. Read context per [read-order.md](../multi-agent-system/protocol/read-order.md): osint, architecture for `{TASK_ID}`; API spec files in handoff `FILES` only.
## Skip gracefully
When **no** OpenAPI/GraphQL/Proto in `FILES` **and** no REST/BFF in `SCOPE`:
- Return one-line skip summary + `DONE`
- Do **not** write empty schema brief unless Coordinator explicitly requested audit with noted gap
## Workflow
1. Restate API scope; list spec files and implementation seeds from FILES.
2. Build spec inventory (endpoints, types, versions).
3. Identify breaking changes (removed fields, enum changes, auth scope changes).
4. Document drift between spec and code when both available.
5. Rank recommendations for dev/architect follow-up.
6. Write brief file when material findings exist; return output template.
## Output
**If `MODE: LITE` or `LITE_MODE: true`:** short form only:
```
## Summary
<2–4 bullets: spec inventory headline, breaking change count, drift status, confidence>
## Brief Path
.ai/context/api-contracts/{TASK_ID}.md
DONE
```
**Full `/mas`:** use this exact structure:
```
## Spec Inventory
| Spec | Version | Endpoints/Types | Notes |
|------|---------|-----------------|-------|
| ... | ... | ... | ... |
## Breaking Changes
| # | Change | Impact | Consumers | Severity |
|---|--------|--------|-----------|----------|
| 1 | ... | ... | ... | P0–P3 |
## Drift
<spec vs implementation gaps — or N/A when spec-only>
## Recommendations
| # | Item | Action | Priority |
|---|------|--------|----------|
| 1 | ... | ... | P0–P3 |
## Brief Path
.ai/context/api-contracts/{TASK_ID}.md
## Usage Report
Model: <slug|default>
Class: normal
Tokens: <in>/<out> | unknown
DONE
```
Optional `## Usage Report` before `DONE` — **full `/mas` only**; omit in lite output block above.
## Rules
- Smallest read scope — handoff `FILES` and subscription briefs only.
- Architect designs contracts; api-contract lints and diffs only.
- Brief file is the source of truth; chat output is a summary.
- Do not duplicate full brief body in chat — paths and tables only.
- Max one spawn per `TASK_ID` unless handoff `RE_AUDIT: yes`.
Coordinator sets `NEXT_AGENT: test-strategy | dev | documenter | reviewer | none` per chain (post-architect or post-dev pre-reviewer).From h4xi0n/mas-cursor-framework, MIT.
More from h4xi0n/mas-cursor-framework
- 0.565score
mas-lite
h4xi0n
Token-efficient MAS entry point.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-android-dev
h4xi0n
Veteran-level Android Dev agent.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-a11y
h4xi0n
Accessibility auditor for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-compliance
h4xi0n
Compliance evidence auditor for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-dependency-risk
h4xi0n
Dependency risk agent for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-figma
h4xi0n
Read-only Figma extraction specialist for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-general-dev
h4xi0n
General Dev agent for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-i18n
h4xi0n
Localization auditor for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.552score
mas-coordinator
h4xi0n
Coordinator agent for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.521score
mas-debate
h4xi0n
Debate synthesizer for multi-agent workflows.
SkillBFreshness: BClaude Code +9 - 0.521score
mas-planner
h4xi0n
Planner agent for multi-agent workflows.
SkillBFreshness: BClaude Code +9 - 0.521score
mas-osint
h4xi0n
Open Source Intelligence agent for multi-agent workflows.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/h4xi0n/mas-cursor-framework
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from h4xi0n
- 0.565score
mas-lite
h4xi0n
Token-efficient MAS entry point.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-figma
h4xi0n
Read-only Figma extraction specialist for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-android-dev
h4xi0n
Veteran-level Android Dev agent.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-compliance
h4xi0n
Compliance evidence auditor for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-a11y
h4xi0n
Accessibility auditor for multi-agent workflows.
SkillAFreshness: AClaude Code +9 - 0.561score
mas-dependency-risk
h4xi0n
Dependency risk agent for multi-agent workflows.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get mas-api-contract running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
mas-api-contract skill. Agent Mart. https://agentmart.dev/skills/h4xi0n-mas-api-contract (last updated 2026-10-24)