harness-setup
HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI/Codex setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 3.2k
- Forks
- 305
01 前言 Front Matter
- kind
- workflow
- name
- harness-setup
- pair
- harness-sync
- role
- generator
- owner
- harness-core
- shape
- workflow
- since
- 2026-05-05
- effort
- medium
- purpose
- Initialize and repair Harness project configuration
- trigger
- setup, init, new project, CI/Codex setup, harness-mem, mirror
- description
- HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI/Codex setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash" ]
- argument-hint
- [init|ci|codex|harness-mem|mirrors|agents|localize]
- description-en
- HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI/Codex setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- description-ja
- HAR:プロジェクト初期化・ツール設定・エージェント構成・メモリ設定・skill mirror 同期を担当。セットアップ、初期化、新規プロジェクト、CI/Codex CLI セットアップ、harness-mem、mirror で起動。実装・レビュー・リリース・プランニングには使わない。
- user-invocable
- true
02 资源文件 8
- 参考文档references/ci.md412 B
- 参考文档references/codex.md7.5 KB
- 参考文档references/cursor.md3.3 KB
- 参考文档references/harness-mem.md583 B
- 参考文档references/init.md2.5 KB
- 参考文档references/maintenance.md751 B
- 参考文档references/marketplace.md2.8 KB
- 参考文档references/mirrors-agents-localize.md1.2 KB
03 SKILL.md 正文
Harness Setup
Harness の統合セットアップスキル。 以下の旧スキルを統合:
setup— 統合セットアップハブharness-init— プロジェクト初期化harness-update— Harness アップデートmaintenance— ファイル整理・クリーンアップ
Quick Reference
| サブコマンド | 動作 | 詳細 |
|---|---|---|
/harness-setup init |
新規プロジェクト初期化(CLAUDE.md + Plans.md + hooks + sync + doctor) | ${CLAUDE_SKILL_DIR}/references/init.md |
/harness-setup ci |
CI/CD パイプライン設定 | ${CLAUDE_SKILL_DIR}/references/ci.md |
/harness-setup codex |
Codex CLI インストール・設定 | ${CLAUDE_SKILL_DIR}/references/codex.md |
/harness-setup harness-mem |
harness-mem 統合・メモリ設定 | ${CLAUDE_SKILL_DIR}/references/harness-mem.md |
/harness-setup mirrors |
skills/ → 公開 mirror bundle 更新 | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
/harness-setup agents |
agents/ エージェント設定 | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
/harness-setup localize |
CLAUDE.md ルールのローカライズ | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
| marketplace / update | Plugin install, update, dependency policy | ${CLAUDE_SKILL_DIR}/references/marketplace.md |
| maintenance | ファイル整理・クリーンアップ | ${CLAUDE_SKILL_DIR}/references/maintenance.md |
Built-in slash discovery (CC 2.1.108+):
/initのような built-in slash command も発見される。 Harness 固有の bootstrap が必要な時だけ/harness-setup initと使い分ける。
Claude Code setup guidance (CC 2.1.120+): MCP
alwaysLoad、${CLAUDE_EFFORT}、claude plugin prune、claude project purge、ANTHROPIC_BEDROCK_SERVICE_TIER、claude_code.skill_activated.invocation_trigger、 Windows PowerShell primary shell、forked skills / subagents の deferred tools はdocs/claude-code-setup-mcp-telemetry-provider.mdを正本として扱う。
Codex plugin workflows: Codex
/goalとPlans.mdを二重管理しない。 plugin-bundled hooks は opt-in、external agent import は ownership 明記、 MultiAgentV2 /agents.max_threads = 8は上限として扱い、 sticky environments / app-server artifacts は safe default を優先する。 Codex0.130.0stable のcodex remote-control、large thread pagination、 selected-environmentview_image、live app-server config refresh、 accurate turn diffs、plugin details bundled hooks、sharing discoverability controls はdocs/codex-plugin-workflows-policy.mdを正本として扱う。 詳細はdocs/codex-plugin-workflows-policy.mdと${CLAUDE_SKILL_DIR}/references/codex.mdを参照。
Execution
状態確認だけの依頼は read-only の診断で完了する。setup 依頼は対象、望む状態、合格条件を既存設定と照合し、明示された surface の変更を進める。 不足情報は設定や契約を読み取りで回収する。任意機能を追加したり、対象外の設定や保護された設定を目的から推測して変更したりしない。
- ユーザーの目的に対応する Quick Reference 行を選ぶ。
- 該当する
${CLAUDE_SKILL_DIR}/references/*.mdを読む。 - 参照ファイルの手順に従い、dry-run がある操作は dry-run を先に実行する。
- setup 後は必要に応じて
harness doctor、bash scripts/sync-skill-mirrors.sh --check、bash scripts/ci/check-consistency.shで確認する。
Upstream Policy Anchors
docs/plugin-managed-settings-policy.md— plugin managed settings policy; normal defaults must not inherit managed marketplace restrictions.docs/codex-provider-setup-policy.md— Codex provider setup policy, includingamazon-bedrockandmodel_provider = "amazon-bedrock"examples.- Codex
0.123.0以降の MCP diagnostics / plugin MCP loading guidance: use/mcp verboseanddocs/codex-mcp-diagnostics.mdfor diagnostics. - Codex sandbox / execution policy (0.123.0+): see
docs/codex-sandbox-execution-policy.mdforremote_sandbox_configand execution constraints.
Cursor 実装バックエンド導入
詳細手順は ${CLAUDE_SKILL_DIR}/references/cursor.md を読む。
契約アンカー: set-impl-backend.sh は AI 実行可。permissions.json、.cursorignore、*.cursor.sh allowlist はユーザー手動で、AI が編集できない protected path として扱う。
根拠ルールは .claude/rules/cursor-cli-only.md と docs/sandbox-allowlist-recipe.md。
Reference Index
${CLAUDE_SKILL_DIR}/references/init.md— init, Go binary verification, plugin sync, doctor.${CLAUDE_SKILL_DIR}/references/ci.md— GitHub Actions CI setup.${CLAUDE_SKILL_DIR}/references/codex.md— Codex CLI, provider/model metadata, app-server, MCP diagnostics, sandbox policy.${CLAUDE_SKILL_DIR}/references/cursor.md— Cursor implementation backend setup and boundaries.${CLAUDE_SKILL_DIR}/references/harness-mem.md— memory directory and template setup.${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md— mirror sync, agent setup, localization.${CLAUDE_SKILL_DIR}/references/marketplace.md— plugin marketplace install/update and managed dependency policy.${CLAUDE_SKILL_DIR}/references/maintenance.md— cleanup commands and related skills.
関連スキル
harness-sync— 設定/Plans/git 状態の同期確認harness-work— 実装タスク実行harness-review— 品質レビューmaintenance— ファイル整理(統合済み)
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
session-send
This skill should be used when the user asks to notify other session, requests a session handoff, says tell other agent, or needs a cross-session message.
memory
Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.
maintenance
File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: /maintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.
japanese-writing-drafter
Detect when the operator corrects the agent's Japanese phrasing mid-conversation (rewrites a sentence, calls out a style problem, says 'this wording is bad, say it like X instead') and draft a pending writing-rule proposal into ~/.claude/writing-lint/proposals.jsonl for later human review. This skill is the ONLY writer of proposals.jsonl — it never edits rules.jsonl and never sets status to anything but pending. Promotion to rules.jsonl only happens via the human-run scripts/writing-rule-approve.sh. Use when user mentions writing-rule proposal, 表現を直して, 文体を直して, その言い方はNG, writing lint 提案, 指摘をルール化して. Do NOT load for: approving or rejecting proposals (use scripts/writing-rule-approve.sh), listing pending proposals (use scripts/writing-rule-list.sh), or scanning text against the existing dictionary (the writinglint engine / PostToolUse hook does that).