setup-claude-code

setup-claude-code is a command for coding agents from ww-w-ai/bkit-starter. It costs 12 tokens per session (3,077 once invoked), scanned A, original, MIT.

A command that examines a software project and creates Claude Code configuration for it. Claude Code is an AI coding assistant; the generated setup can include project instructions, commands, agents, skills, connections to external tools, hooks, permissions, and GitHub Actions, depending on the selected mode.

In plain words
What is it for?
Creating minimal, standard, or full Claude Code setup files for projects written in languages such as TypeScript, Python, Go, Rust, Java, and others.
Why use it?
It reduces the manual work of setting up Claude Code for a project's language, tools, and folder structure. It can also check whether the project is a monorepo, meaning one repository containing multiple related projects.

Command

Part of the bkit-starter plugin — 4 skills, 4 commands, 1 hook shipped together

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 commands/ww-w-ai/bkit-starter/setup-claude-code
Clone the repo
git clone --depth 1 https://github.com/ww-w-ai/bkit-starter

Or install bkit-starter, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 hook.

Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,077 The whole file, excluding the scripts and references it only reads on demand.
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 $0.00012 $0.03077
Opus 5 $0.00006 $0.01538
Sonnet 5 $0.00002 $0.00615
Haiku 4.5 $0.00001 $0.00308

Measured 3d ago against content hash 6b400d0afb1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-claude-code 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 3d 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.

commands/setup-claude-code.md · 437 lines

How it starts

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

Claude Code 프로젝트 설정 생성

어떤 프로젝트, 어떤 언어에서든 Claude Code 설정을 자동으로 생성합니다.

지원 언어: TypeScript, JavaScript, Python, Go, Rust, Java, C#, Ruby, PHP 등

사용법

/setup-claude-code [옵션]

옵션:

  • minimal: 최소 설정 (CLAUDE.md + 훅)
  • standard: 표준 설정 (+ Commands, Agents)
  • full: 전체 설정 (+ Skills, MCP, GitHub Action)
  • 생략 시: 프로젝트 분석 후 자동 결정

왜 이 커맨드가 필요한가?

문제: Claude Code 설정이 없거나 부족한 프로젝트에서 처음부터 수동 설정은 번거로움
해결: 프로젝트 분석 → 언어/구조에 맞는 초기 설정 자동 생성
결과: CLAUDE.md, .claude/, hooks, permissions 등 한 번에 설정

수행 작업

1단계: 마스터 가이드 참조

반드시 다음 문서를 먼저 읽습니다:

.claude/docs/CLAUDE-CODE-MASTERY.md           # 목차 및 핵심 개념
.claude/docs/mastery/01-settings-guide.md     # 설정 요소별 상세 가이드
.claude/docs/mastery/02-language-templates.md # 언어별 설정 템플릿
.claude/docs/mastery/03-project-structures.md # 프로젝트 구조별 가이드

필요한 내용에 따라 해당 파일을 참조합니다.

2단계: 프로젝트 분석

# 분석 대상
1. package.json → 패키지 매니저, 스크립트 확인
2. 폴더 구조 → 모노레포 여부, 모듈 구조
3. 기존 .claude/ → 이미 설정된 항목 확인
4. tsconfig.json → TypeScript 설정
5. .eslintrc / biome.json → 린트 설정
6. .prettierrc → 포맷터 설정

3단계: 기술 스택 파악

항목 확인 방법
패키지 매니저 lockfile 확인 (pnpm-lock.yaml, package-lock.json, bun.lockb)
언어 tsconfig.json 유무, 파일 확장자
프레임워크 package.json dependencies
모노레포 pnpm-workspace.yaml, turbo.json, lerna.json
테스트 도구 vitest, jest, mocha 등

4단계: 설정 규모 결정

## 규모 결정 기준

### Minimal (소규모, 1-3명)
- 단일 패키지
- 간단한 프로젝트

### Standard (중규모, 4-10명)
- 모노레포 또는 복잡한 단일 패키지
- 여러 개발자 협업

### Full (대규모, 10명+)
- 대규모 모노레포
- 여러 도메인
- 외부 시스템 연동 필요

5단계: 파일 생성

5.1 CLAUDE.md 생성 (항상)
# Development Workflow

## 패키지 관리
- **항상 `{detected_package_manager}` 사용**

## 개발 순서
1. 변경 사항 작성
2. 타입체크: `{typecheck_command}`
3. 테스트: `{test_command}`
4. 린트: `{lint_command}`
5. 빌드: `{build_command}`

## 코딩 컨벤션
- `type` 선호, `interface` 자제
- **`enum` 절대 금지** → 문자열 리터럴 유니온 사용
- Zod 스키마로 타입 정의

## 프로젝트 구조
{detected_structure}

## 금지 사항
- ❌ console.log 대신 logger 사용
- ❌ any 타입 사용 금지

Read the full file on GitHub · 437 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. 3d ago First seen · 437 lines · 12 tokens per session scan A 6b400d0afb1c

Subscribe to this mod's changes

setup-claude-code is a command published in the GitHub repository ww-w-ai/bkit-starter (53 stars, last pushed 7mo ago), licensed MIT. It adds 12 tokens to every session and 3,077 once invoked, about $0.0001 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-30.