AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Forge Status

skill-ggombee-code-forge-forge-status · by ggombee

code-forge 상태 대시보드. REFLECT flag, quality 이벤트, notepad/decisions, usage 집계를 한 번에. forge-glow 같은 외부 도구는 --json으로 파싱.

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add skill-ggombee-code-forge-forge-status

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ggombee-code-forge-forge-status)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Forge Status? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/forge-status

code-forge의 현재 런타임 상태를 회고/진단용 단일 뷰로 보여줍니다. 외부 도구 연동용 JSON surface도 제공 — forge status --json.

[즉시 실행] 아래 절차대로 상태를 출력하세요.


사용법

/forge-status              → 사람 읽는 리포트 (상세)
/forge-status --json       → JSON 출력 (forge-glow, CI 연동용)
/forge-status --week       → 최근 7일 quality 추이
/forge-status --reflect    → REFLECT flag 상세

Step 1: CLI 호출

플러그인이 제공하는 단일 surface를 호출:

${CLAUDE_PLUGIN_ROOT}/bin/forge status

--json 인자 있으면:

${CLAUDE_PLUGIN_ROOT}/bin/forge status --json

→ JSON 그대로 출력하고 종료. 사람이 호출했어도 --json이면 파이프라인 용도로 가정.


Step 2: 상세 섹션 추가

--json이 아닌 경우, bin/forge status 출력 다음에 아래 섹션 보강:

2-1. 최근 quality 이벤트 (있으면)

tail -10 .claude/state/quality.jsonl 2>/dev/null

각 이벤트를 사람 읽는 포맷으로 변환:

[2026-04-14 10:00] eslint   PASS
[2026-04-14 10:00] tsc      FAIL  2 errors
[2026-04-14 10:00] test-trigger  WARN  TC 없음: src/hooks/useFoo.ts

2-2. REFLECT flag 상세 (활성 시)

[ -f .claude/state/reflect.flag ] && cat .claude/state/reflect.flag

timestamp, failed_blocks, failed_files 파싱하여 테이블화.

2-3. Notepad 미리보기 (있으면)

if [ -f .claude/state/notepad.md ]; then
  echo "=== Notepad 미리보기 ==="
  head -20 .claude/state/notepad.md
fi

2-4. 최근 decisions (있으면)

if [ -f .claude/state/decisions.md ]; then
  echo "=== 최근 결정 3건 ==="
  grep -A 3 "^## " .claude/state/decisions.md | tail -15
fi

2-5. 사용량 (usage.jsonl)

if [ -f "$HOME/.code-forge/usage.jsonl" ]; then
  echo "=== 이번 주 사용 Top 3 ==="
  # 7일 이내 에이전트/스킬 집계 — POSIX awk (gawk 3-인자 match 금지: macOS에서 무동작이었음)
  # ISO ts는 문자열 비교가 곧 시간 비교
  CUTOFF=$(date -u -v-7d +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null || date -u -d '7 days ago' +"%Y-%m-%dT%H:%M:%SZ")
  awk -v c="$CUTOFF" -F'"' '{
    ts=""; name=""
    for (i = 1; i = c && name != "") print name
  }' "$HOME/.code-forge/usage.jsonl" | sort | uniq -c | sort -rn | head -3
fi

2-6. Whetstone 초안 (있으면 — state-schema §7)

if ls .claude/state/whetstone/*.md >/dev/null 2>&1; then
  echo "=== Whetstone 초안 (채택은 사람이 — status를 accepted/rejected로) ==="
  for w in .claude/state/whetstone/*.md; do
    S=$(grep '^status:' "$w" | head -1 | sed 's/^status: *//')
    C=$(grep '^count:' "$w" | head -1 | sed 's/^count: *//')
    P=$(sed -n '/^## 반복 패턴/{n;p;}' "$w" | cut -c1-70)
    printf "%-9s %3s회  %s\n" "[$S]" "$C" "$P"
  done
fi

2-7. 자가진단 (doctor)

${CLAUDE_PLUGIN_ROOT}/bin/forge doctor

4종 보고만 (자동 수리 없음): 주입 회로(route.json 최근성) / 품질 게이트 만년 빨간불(pass==0&&fail>0) / 버전 정합(프로젝트 local.md vs 설치본) / flow CLI 휴면.


Step 3: 옵션 처리

--week

quality.jsonl에서 최근 7일 이벤트 일별 집계:

2026-04-14  █████████ 9 (pass:7 fail:2)
2026-04-13  ████ 4 (pass:4)
2026-04-12  ██████ 6 (pass:5 warn:1)

--reflect

REFLECT flag 없으면 "깨끗함" + 최근 해제 시각. 있으면 전체 본문 + 권장 조치:

ADAPT 권장 절차:
  1. 실패 파일 Read → 증상 파악
  2. 근인 분석
  3. 수정 → Stop 훅 재실행
  4. 통과 시 flag 자동 삭제

우회: rm .claude/state/reflect.flag
Ack: 본문에 'ack: ' 추가

Step 4: 외부 도구 연동 힌트

사람 리포트 맨 아래에 안내:

─────────────────────────────────────
외부 도구 (forge-glow, CI, 슬랙봇):
  $CLAUDE_PLUGIN_ROOT/bin/forge status --json
계약: docs/contracts/state-schema.md v1

관련

  • docs/contracts/state-schema.md.claude/state/ 파일 포맷 계약
  • /stats — Bellows usage.jsonl 전용 집계 (다른 관점)
  • /cleanup — state 파일 정리
  • forge-glow — 실시간 statusLine HUD (회고는 /forge-status, 실시간은 glow)

금지 사항

  • .claude/state/ 파일을 직접 cat으로 통째로 쏟아내기 금지 — 항상 파싱/요약
  • 외부 도구가 이 스킬을 호출하는 것 금지 — 반드시 bin/forge status --json 직접 사용
  • 파일 경로 참조를 공식 계약인 것처럼 안내 금지 — 항상 bin/forge surface를 권장

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.