workspace-init

workspace-init is a skill for Claude Code from atsushi04/jibun-os. It costs 188 tokens per session (2,742 once invoked), scanned A, original, MIT.

A guided setup for a folder-based workspace that an AI agent can use to manage work, life, tasks, memory, and regular reviews.

In plain words
What is it for?
Use it to design a workspace, create its folder structure and CLAUDE.md instructions, and set up daily, weekly, or monthly review routines.
Why use it?
It helps turn an unstructured directory into an agreed system with clear folders and operating instructions, while preserving existing files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the jibun-os plugin — 1 skill shipped together

Good fit Use it to design a workspace, create its folder structure and CLAUDE.md instructions, and set up daily, weekly, or monthly review routines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atsushi04/jibun-os/workspace-init
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.

Any agent
npx skills add atsushi04/jibun-os --skill workspace-init
Clone the repo
git clone --depth 1 https://github.com/atsushi04/jibun-os

Made for: Claude Code.

Or install jibun-os, the plugin that ships this one along with the rest of its 1 skill.

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 workspace-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/atsushi04/jibun-os/workspace-init/github.svg)](https://agentmods.dev/skills/atsushi04/jibun-os/workspace-init)
Your own site
<a href="https://agentmods.dev/skills/atsushi04/jibun-os/workspace-init"><img src="https://agentmods.dev/badge/skills/atsushi04/jibun-os/workspace-init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workspace-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/atsushi04/jibun-os/workspace-init"><img src="https://agentmods.dev/badge/skills/atsushi04/jibun-os/workspace-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00188 $0.02742
Opus 5 $0.00094 $0.01371
Sonnet 5 $0.00038 $0.00548
Haiku 4.5 $0.00019 $0.00274

Measured 10d ago against content hash 8858edd4fd56, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

workspace-init 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 10d 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.

skills/workspace-init/SKILL.md · 122 lines

How it starts

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

あなた専用の「フォルダ=OS」ワークスペースを構築する

ユーザーの志向性をヒアリングし、AIエージェントが迷わず動ける番号付きフォルダ構造・CLAUDE.md・記憶の仕組み・日次/週次/月次の運用スキルを、カレントディレクトリに生成する。

大原則

  • ユーザーが使っている言語で対話・生成する(このスキルは日本語で書かれているが、英語ユーザーには英語で応対し、生成物も英語にする)
  • 非破壊: 既存のファイル・フォルダは削除しない。移動もユーザーが合意した範囲のみ
  • 合意してから生成: ヒアリング後、必ず設計案を提示して承認を得てから書き込みを始める
  • 実行前に、このスキルの references/design-principles.md を読んで設計原則を頭に入れること

実行手順

Step 0: 現状スキャン

カレントディレクトリを調査する:

ls -la
git rev-parse --is-inside-work-tree 2>/dev/null || echo "not-git"
  • ほぼ空(README等しかない)→ 新規構築モード
  • ファイル・フォルダがある → マイグレーションモード(Step 2で既存構成の分析を追加)
  • 既に CLAUDE.md.claude/skills/ がある場合は、上書きせず統合方針を後で確認する
  • カレントがホームディレクトリ直下や巨大なリポジトリなど、ワークスペースにするには不自然な場所であれば、専用ディレクトリの作成を先に提案する

Step 1: ヒアリング

references/hearing-guide.md を読み、記載の質問(Q1〜Q6)と分岐ロジックに従ってヒアリングする。 AskUserQuestionツールが使えるなら活用し、使えなければ会話で1問ずつ聞く。

ヒアリングで確定させる変数:

変数 内容
スコープ 仕事のみ / 生活のみ / 仕事+生活
活動プロファイル 立場・仕事の中身・蓄積したい情報など(Q2の動的ヒアリング、最大3ラウンドで確定)。条件付き/カスタムフォルダの選定材料
タスク管理 tasks_github / tasks_local / tasks_none(tasks_noneの場合は外部ツール名も任意で)
振り返り習慣 daily / +weekly / +monthly
振り返り曜日 weekly以上の場合。デフォルト土曜日
呼び名・トーン 任意
生活リズム・大きな目標・1日のタスク数上限 任意。タスク数上限は未回答ならデフォルト3

Step 2: 設計案の提示と合意

references/folder-catalog.md を参照し、ヒアリング結果からフォルダ構成を組み立てて提示する:

  1. フォルダツリー案(必須+条件付き・カスタムの選定結果)。各フォルダに「なぜこの配置がAIにとって効くのか」に加えて、Q2のどの回答から提案したかを一言添える(例:「フリーランスで案件を複数抱えてると言ってたから 02_clients/ を提案してるよ」)。パーソナライズが伝わることが目的
  2. 生成するスキル一覧(振り返り習慣の選択に応じた2〜4種+os-growth)
  3. CLAUDE.md の骨子(役割定義の方向性)

マイグレーションモードの場合はさらに、既存ファイル→新構成のマッピング表(移動する / そのまま残す / 要確認 の3分類)を提示する。

ユーザーの承認・修正指示を受けて構成を確定する。承認前に書き込みを始めない。

Step 3: 生成実行

確定した構成に従って生成する。テンプレートはこのスキルの templates/ 配下にあり、各ファイル冒頭の GENERATOR コメントが生成方法の指示になっている({{...}} の置換・<IF:条件> ブロックの取捨選択・GENERATORコメントの除去)。 IFブロックを除去した後は、手順の連番(1. 2. 3. / Step N)を必ず振り直すこと。

  1. フォルダ作成 — 確定したツリーを mkdir -p で作成し、条件付きフォルダには用途1〜3行のREADME.mdを置く
  2. CLAUDE.mdtemplates/CLAUDE.md.template から生成。ディレクトリ構造表は実際に作った構成に合わせる
  3. 記憶の仕組み00_context/profile.md(ヒアリングで得たプロフィールの要点を記載)と 00_context/memories/MEMORY.mdtemplates/memories/MEMORY.md.template から生成)。あわせて {{STRATEGY_DIR}}/goals.md にヒアリングで聞き取れた目標の骨子をスターターとして書く(振り返りスキルの参照先が空にならないように)
  4. ログファイルtemplates/DAILY.md.template からDAILY.mdを生成。weekly/monthlyを選んだ場合はWEEKLY.md / MONTHLY.mdも
  5. 運用スキルtemplates/skills/ 配下の各テンプレートから .claude/skills/ に生成:
    • daily-schedule / daily-summary(常に)
    • weekly-review(weekly以上を選んだ場合)
    • monthly-review(monthlyを選んだ場合)
    • os-growth(振り返り習慣の選択に関わらず常に生成。00_context/{{STRATEGY_DIR}}を育てるガイド役)
  6. os-growthの初期化00_context/os-growth.md をLv1(骨組み)として初期化する
  7. タスク管理の初期化
    • tasks_local → ルートに tasks.md(未完了/完了の2セクション)を作成
    • tasks_github → gh auth status で認証を確認し、未認証なら gh auth login を案内する
  8. git初期化 — gitリポジトリでなければ git init を提案する(daily-summary / weekly-review がgitログを活用するため推奨。ユーザーが不要と言えばスキルは非git版で生成する)。初期化した場合は生成物一式を初回コミットする
  9. マイグレーション — 合意済みマッピングに従って既存ファイルを移動する。削除はしない。 既存のCLAUDE.mdや .claude/skills/ があった場合は、上書きではなく差分の統合案を提示して確認を取る

Read the full file on GitHub · 122 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. 10d ago First seen · 122 lines · 188 tokens per session scan A 8858edd4fd56

Subscribe to this mod's changes

workspace-init is a skill published in the GitHub repository atsushi04/jibun-os (1 stars, last pushed 1mo ago), licensed MIT. It adds 188 tokens to every session and 2,742 once invoked, about $0.0009 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.

Related

Other skills, from other repositories