ai-workspace

ai-workspace is a skill for Claude Code from scroogy-dev/scroogy-agent-skills. It costs 119 tokens per session (6,452 once invoked), scanned C, original, Apache-2.0.

A project workspace guide built around an .ai directory and an AI-CONTEXT.md map. It records the repository structure and helps keep project information synchronized in multi-repository workspaces.

In plain words
What is it for?
Use it to initialize or update the .ai directory, repository map, project-domain information, and AI collaboration guidance.
Why use it?
AI assistants and developers can lose track of where project information belongs. This gives the repository a consistent map and shared context structure.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [ -f ../.ai/AI-CONTEXT.md ] && echo "multi" || echo "solo".

Good fit Use it to initialize or update the .ai directory, repository map, project-domain information, and AI collaboration guidance.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/scroogy-dev/scroogy-agent-skills
agentmods
npx agentmods add skills/scroogy-dev/scroogy-agent-skills/ai-workspace

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/scroogy-dev/scroogy-agent-skills/ai-workspace/github.svg)](https://agentmods.dev/skills/scroogy-dev/scroogy-agent-skills/ai-workspace)
Your own site
<a href="https://agentmods.dev/skills/scroogy-dev/scroogy-agent-skills/ai-workspace"><img src="https://agentmods.dev/badge/skills/scroogy-dev/scroogy-agent-skills/ai-workspace/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 ai-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/scroogy-dev/scroogy-agent-skills/ai-workspace"><img src="https://agentmods.dev/badge/skills/scroogy-dev/scroogy-agent-skills/ai-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,452 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00119 $0.06452
Opus 5 $0.00060 $0.03226
Sonnet 5 $0.00024 $0.01290
Haiku 4.5 $0.00012 $0.00645

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

Security

Grade C, and why

ai-workspace scanned grade C with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-context.sh, tests/run-tests.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .ai
ai-workspace/SKILL.md · 283 lines

How it starts

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

개요

현재 프로젝트 루트에 .ai/ 디렉토리와 AI 협업을 위한 기본 구조를 생성하거나 갱신합니다. 이 skill 디렉토리의 templates/ 아래 파일을 기준으로 구성합니다.

설계 원칙

  • SSoT는 소스 코드. repo 안내도(.ai/AI-CONTEXT.md)는 라우터일 뿐 진실의 원천이 아닙니다.
  • 컨벤션 우선 (CoC). 멀티 repo는 <상위 워크스페이스>/<repo> 컨벤션으로만 지원합니다. 이 repo가 멀티 워크스페이스의 일부인지 단독 repo인지는 <repo>/../.ai/AI-CONTEXT.md 존재 여부로 자동 판정합니다. 별도 메타 필드(building/lobby 등)는 두지 않습니다 (YAGNI). 컨벤션을 벗어난 구조는 지원하지 않습니다.
  • 상위 워크스페이스와의 도메인 동기화. 멀티 워크스페이스의 일부인 경우 repo 안내도의 ## 프로젝트 도메인 표(domain/keywords)는 상위 워크스페이스 안내도 Repos 표의 동일 path 행과 1:1 동기화됩니다 (ai-workspace-directory의 drift 메타 일치 검사 대상).

이 구조와 함께 사용 가능한 skill

  • ai-workspace-directory (자매): 멀티 repo 워크스페이스 루트의 상위 안내도 .ai/AI-CONTEXT.md(로비) 생성·재구성. 상위 안내도의 Repos 표는 각 repo의 path/domain/keywords/status를 가지고, 본 스킬이 만드는 repo 안내도의 ## 프로젝트 도메인 표(domain/keywords)와 1:1 동기화 대상입니다.
  • code-map: 소스코드 기능별 엔트리포인트·호출 흐름 색인 (.ai/60_codebase/ 활용)
  • git-commit: Conventional Commits 규칙에 따른 커밋 메시지 작성
  • git-pr: PR 제목/메시지 작성 (비즈니스+테크 관점, .ai/50_adr/, .ai/30_contract/, .ai/40_domain/ 활용) 후 승인 게이트를 거쳐 정식/드래프트 PR 생성
  • git-pr-feedback: PR 리뷰 코멘트 수집·분류 후 항목별 대응 (답글 게시·코드 변경·원장 등재). 수용한 지적을 .ai/70_ledger/에 등재하고, 코드 수정으로 원인이 사라진 기존 항목을 종결합니다.
  • git-qa: 배포 대상 PR에서 repo별 QA 체크리스트 생성 (.ai/99_workspace/ 활용)
  • git-review: 비즈니스/테크 리뷰 수행 (.ai/30_contract/, .ai/40_domain/ 활용)
  • git-review-context: 리뷰 전 변경사항 사전 분석 (.ai/99_workspace/ 활용)
  • issue-audit: 이슈 스펙 대비 구현 독립 감사 (.ai/30_contract/, .ai/40_domain/, .ai/50_adr/ 활용). .ai/70_ledger/의 기등재 항목을 대조해 이미 수용한 발견을 신규로 재보고하지 않습니다.
  • issue-work: 이슈 단위 스펙/계획/요약 관리 (.ai/90_issues/ 활용). --response로 감사 발견을 수용할 때 .ai/70_ledger/에 등재합니다. 원장 index.md 골격과 항목 템플릿(ledger-entry-template.md)은 둘 다 본 스킬이 배포합니다. 등재 주체가 issue-work·git-pr-feedback 둘이라 어느 한쪽 스킬에 두지 않습니다.

사용법

/ai-workspace [dev|doc]
  • dev: 개발 프로젝트용 — 기술 스택, 코딩 컨벤션 섹션 포함
  • doc: 문서 프로젝트용 — 기술 스택, 코딩 컨벤션 섹션 없음
  • 프로파일을 생략하면 사용자에게 선택을 요청합니다.

Read the full file on GitHub · 283 lines

Files

What ships with it

40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 283 lines · 119 tokens per session scan C dfa7cbaf5646

Subscribe to this mod's changes

ai-workspace is a skill published in the GitHub repository scroogy-dev/scroogy-agent-skills (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 119 tokens to every session and 6,452 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories