gwanjong-mcp CLAUDE.md

gwanjong-mcp CLAUDE.md is an instructions file for coding agents from SonAIengine/gwanjong-mcp. It costs 3,295 tokens per session, scanned A, original, MIT.

A set of project instructions for gwanjong-mcp, an MCP server that runs an AI growth pipeline for finding opportunities, drafting content, and tracking campaigns.

In plain words
What is it for?
Understanding, running, testing, and extending the server’s pipeline, plugins, campaign tracking, and platform automation.
Why use it?
It explains the server’s architecture, state handling, event system, storage, safety checks, and development commands to guide code changes.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sonaiengine/gwanjong-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/SonAIengine/gwanjong-mcp

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 gwanjong-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sonaiengine/gwanjong-mcp/claude-md.svg)](https://agentmods.dev/instructions/sonaiengine/gwanjong-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sonaiengine/gwanjong-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sonaiengine/gwanjong-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,295 This file is loaded in full into every session.
When invoked 3,295 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.03295 $0.03295
Opus 5 $0.01648 $0.01648
Sonnet 5 $0.00659 $0.00659
Haiku 4.5 $0.00330 $0.00330

Measured 4d ago against content hash 483457c87a89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

gwanjong-mcp CLAUDE.md 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 4d 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.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gwanjong-mcp

AI Growth OS — Stateful Pipeline MCP 서버 + 자율 소셜 에이전트. 8개 tool + EventBus 플러그인 아키텍처.

핵심 설계: 토큰 효율 + 느슨한 결합

  • Tool 8개 — description이 매 호출마다 시스템 프롬프트에 포함되므로 최소화
  • 서버 상태 유지 — scout 결과를 GwanjongState에 캐시, ID 참조로 후속 호출
  • 서버가 분석 담당 — trending/search/filter/score는 서버 내부 처리, LLM은 판단+생성만
  • EventBus — 모듈 간 직접 import 없이 이벤트 pub/sub. 플러그인 유무와 무관하게 동작
  • 캠페인 기반 — 모든 활동을 캠페인 단위로 추적, UTM 태깅, 전환 측정

프로젝트 구조

gwanjong_mcp/
├── __init__.py        # 패키지
├── __main__.py        # python -m gwanjong_mcp
├── server.py          # PipelineMCP + 8 tools + GwanjongState + EventBus 조립
├── events.py          # EventBus + Event + Blocked (유일한 공유 지점)
├── pipeline.py        # scout/draft/strike 코어 (registry + EventBus)
├── types.py           # Opportunity, DraftContext, ActionRecord, Campaign, Asset, ...
├── storage.py         # SQLite 스키마 (actions, campaigns, conversions, assets, schedule, ...)
├── setup.py           # 플랫폼 온보딩 (registry 기반 동적 가이드)
├── browser.py         # Dev.to 브라우저 자동화
│
│  ── EventBus 플러그인 (독립 모듈) ──
│
├── safety.py          # Rate limiting + 콘텐츠 검증 (strike.before 차단)
├── memory.py          # SQLite 영속 저장소 (활동 이력 + 중복 방지 + campaign_id/utm_url)
├── tracker.py         # 답글 추적 (댓글 남긴 게시글의 새 답글 감지)
├── conversion.py      # UTM 삽입 + 전환 기록 (strike.before/after)
├── scheduler.py       # 예약 발행 (시간 도래 → 자동 실행)
│
│  ── 독립 모듈 ──
│
├── campaign.py        # Campaign CRUD + KPI 리포트
├── asset.py           # Asset library (에셋 저장/검색/재사용)
├── message.py         # MessageFrame 관리 (ICP별 메시지 프레임)
├── measure.py         # Attribution + A/B 실험 + weekly report
├── strategy.py        # 주간 플랜 자동 생성 + 저위험 자동 스케줄
├── monitor.py         # 모니터링 데이터 집계 (SQLite → JSON)
├── dashboard.py       # 대시보드 웹서버 (aiohttp, 별도 프로세스)
├── static/index.html  # 대시보드 프론트엔드 (단일 HTML, vanilla JS)
├── persona.py         # 플랫폼별 페르소나 관리 (파일 I/O만)
├── llm.py             # 내장 LLM 댓글 생성 (anthropic SDK)
├── autonomous.py      # 자율 루프 엔진 (pipeline + events + scheduler 통합)
├── daemon.py          # gwanjong-daemon CLI 진입점
run.py                 # 직접 실행 진입점

Read the full file on GitHub · 277 lines

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. 4d ago First seen · 277 lines · 3,295 tokens per session scan A 483457c87a89

Subscribe to this mod's changes

gwanjong-mcp CLAUDE.md is an instructions file published in the GitHub repository SonAIengine/gwanjong-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 3,295 tokens to every session, about $0.0165 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-31.