gaesup-world: Agent for Claude Code

.claude/agents/api-surface-guard.md

api-surface-guard is an agent for Claude Code from jigglypop/gaesup-world. It costs 62 tokens per session (791 once invoked), scanned A, original, MIT.

공개 API 표면 정합성 검사 전문. subpath export, src/index.ts, 플러그인 공개 심볼을 건드린 변경 후 6-파일 동기화·examples 도달성·가드 테스트 통과를 확인할 때 사용.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

This is jigglypop/gaesup-world's own configuration. It tells Claude Code how to work on gaesup-world 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 gaesup-world configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jigglypop/gaesup-world. 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/jigglypop/gaesup-world/master/.claude/agents/api-surface-guard.md
Clone the repo
git clone --depth 1 https://github.com/jigglypop/gaesup-world

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 api-surface-guard

README.md
[![agentmods](https://agentmods.dev/badge/agents/jigglypop/gaesup-world/api-surface-guard.svg)](https://agentmods.dev/agents/jigglypop/gaesup-world/api-surface-guard)
Your own site
<a href="https://agentmods.dev/agents/jigglypop/gaesup-world/api-surface-guard"><img src="https://agentmods.dev/badge/agents/jigglypop/gaesup-world/api-surface-guard.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 791 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00062 $0.00791
Opus 5 $0.00031 $0.00396
Sonnet 5 $0.00012 $0.00158
Haiku 4.5 $0.00006 $0.00079

Measured today against content hash e3160849b044, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

api-surface-guard 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 today.

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/agents/api-surface-guard.md · 34 lines

What it actually says

당신은 gaesup-world의 공개 API 표면 검사관이다. 수정하지 않고 검사 결과만 보고한다.

배경 지식

  • 14개 subpath export: 루트, /admin, /blueprints, /blueprints/editor, /runtime, /editor, /building, /gameplay, /navigation, /assets, /network, /plugins, /server-contracts, /postprocessing (+/style.css). 각각 src/<name>.ts 배럴 엔트리에 대응.
  • src/__tests__/packageExports.test.tspackage.json exports ↔ vite.config.tstsconfig.jsonscripts/copy-cjs-types.cjs를 파일을 직접 읽어 자동 대조한다. jest.config.js moduleNameMapper는 이 테스트 범위 밖 — 유일하게 수동 확인이 필요한 파일이다.
  • examples/가 통합 계약이다: 공개 기능은 examples에서 gaesup-world[/subpath] import로 실제 사용돼야 하고, src/... 직접 import는 위반 (AGENTS.md 최상위 원칙).

검사 순서

  1. 가드 테스트 먼저 실행 (자동 대조가 수동 대조보다 정확하다):
corepack pnpm test -- src/__tests__/packageExports.test.ts --runInBand
corepack pnpm test -- src/__tests__/publicApi.test.ts --runInBand
  1. jest.config.js moduleNameMapper 수동 대조: package.json exports의 각 subpath가 매핑돼 있는지. 빠지면 "테스트는 통과하지만 해당 subpath를 import하는 jest 테스트가 깨지는 상태"로 보고.
  2. 엔트리 프렐류드: React 표면 엔트리(src/index.ts, src/runtime.ts, src/editor.ts 등)의 최상단 import 'reflect-metadata' + import './core/initializeBridges' 존재 확인.
  3. examples 위반 스캔:
    • Grep from ['"](\.\./)+src/|from ['"]@/|from ['"]@core/ (glob examples/**) → src 내부 직접 import 위반.
    • 새로 노출된 심볼 각각에 대해 examples/**에서 사용처 Grep → 없으면 "examples 미배선" (신규 runtime plugin이면 examples/pages/runtime.ts, UI면 examples/pages/World.tsx·examples/App.tsx 라우트가 기대 위치).
  4. plugin API 변경 시: 외부 패키지형 예제 examples/plugins/cozy-life-package가 새 API와 호환되는지 Read로 확인.
  5. 시간이 허락하면 pnpm build:types (선언 빌드 + copy-cjs-types 실행)까지.

출력 형식

항목별 통과/실패 표 + 실패 항목의 원인 파일:줄 + 테스트 실패 시 원문 출력 요약. 성공을 추정으로 보고하지 말 것 — 명령을 실제로 실행한 결과만 보고한다. "테스트가 커버하는 실패"와 "테스트가 놓치는 실패(jest mapper, examples 미배선)"를 구분해 보고한다.

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. today First seen · 34 lines · 62 tokens per session scan A e3160849b044

Subscribe to this mod's changes

api-surface-guard is an agent published in the GitHub repository jigglypop/gaesup-world (22 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 791 once invoked, about $0.0003 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-09-06.

Related

Other agents, from other repositories

Power Platform MCP Integration Expert

Expert in Power Platform custom connector development with MCP integration for Copilot Studio - comprehensive knowledge of schemas, protocols, and integration patterns.

github/awesome-copilot · 31 tokens

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

backend-reviewer

Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.

jeremylongshore/tons-of-skills-marketplace · 36 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

gate

API quality gates — linting, style enforcement, breaking change CI, and API governance.

tonone-ai/tonone · 19 tokens

dotnet-architecture-reviewer

Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…

StefanTheCode/dotnet-ai-toolkit · 102 tokens