ai-workspace: Skill for Claude Code

.agents/skills/project-mgr/SKILL.md

project-mgr is a skill for Claude Code, Codex from ZhuoZhuoCrayon/ai-workspace. It costs 56 tokens per session (1,665 once invoked), scanned A, original, MIT.

A project-management skill that registers and manages local code repositories through `repos.json`, a file listing projects and their locations. It can also record whether a project is public or private and which language to use for interactions.

In plain words
What is it for?
Adding or removing projects, locating a registered project, discovering its Git details and applying project-specific language preferences.
Why use it?
It gives the assistant a reliable way to find registered projects and their local folders, including a specific folder inside a larger repository. This avoids repeatedly supplying project paths and settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is ZhuoZhuoCrayon/ai-workspace's own configuration. It tells Claude Code and Codex how to work on ai-workspace itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-workspace configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/xxx/ai-docs.

Reuse

Borrowing it

Nothing to install: this file belongs to ZhuoZhuoCrayon/ai-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ZhuoZhuoCrayon/ai-workspace/main/.agents/skills/project-mgr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ZhuoZhuoCrayon/ai-workspace

Made for: Claude Code, Codex.

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 project-mgr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/project-mgr"><img src="https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/project-mgr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,665 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.00056 $0.01665
Opus 5 $0.00028 $0.00833
Sonnet 5 $0.00011 $0.00333
Haiku 4.5 $0.00006 $0.00167

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

Security

Grade A, and why

project-mgr 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/list_skills.py, tests/test_list_skills.py), 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.

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.

.agents/skills/project-mgr/SKILL.md · 152 lines

How it starts

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

project-mgr — 项目管理

管理工作区中项目的添加、删除和定位,默认 visibility 为 public

项目通过 repos.json / private/repos.json 注册,local_path 记录本地仓库绝对路径,模型可通过该路径 cd 到项目目录进行开发。

0x01 添加项目

a. 输入参数

参数 必填 说明
local_path 本地路径(仓库根目录或大仓子目录均可)
visibility public(默认) / private
name 项目名称覆盖(默认从 local_path 的 basename 推断)
language 项目语言偏好:zh(默认) / en,影响 PR review 评论、commit message 等交互语言

b. 自动发现

cdlocal_path,再逐条执行以下 Git 命令采集信息(Git 在子目录中会自动向上查找 .git):

信息 命令 说明
远程仓库地址 git remote -v 优先取 upstream(fetch),其次 origin(fetch)
默认分支 git symbolic-ref refs/remotes/<remote>/HEAD 2>/dev/null 失败则回退检测 master / main 分支是否存在
仓库描述 gh repo view <owner>/<repo> --json description -q .description(可用时) GH 描述优先,不可用时回退本地 README.md 首段摘要

推断规则:

  • local_path:直接使用用户提供的路径,不回退到仓库根目录(大仓场景下用户只关心子目录)
  • 项目名称:取 local_path 的 basename(如 /path/bk-monitor/bkmonitorbkmonitor),用户可通过 name 参数覆盖
  • 远程仓库地址:含 token 或凭据时先剔除凭据,统一格式化为 https://github.com/<owner>/<repo>.git 记录
  • 仓库描述(description)补齐策略(不能为空):
    1. 优先使用 Git 平台描述(GitHub/GHE,gh repo view 或 API)。
    2. 若平台不可达或描述为空,回退读取 <local_path>/README.md:取首个 # 标题后第一段非空正文作为摘要。
    3. 若仍为空,使用简短占位描述:<name> 项目仓库,并在回复中标注“建议后续人工完善”。

c. 确认

将自动发现的信息汇总后向用户确认,格式示例:

即将添加项目:
- 名称:bkmonitor
- 本地路径:/Users/xxx/bk-monitor/bkmonitor
- 远程仓库:https://github.com/TencentBlueKing/bk-monitor.git
- 默认分支:master
- 可见性:public
- 语言偏好:zh

是否确认?

Read the full file on GitHub · 152 lines

Files

What ships with it

2 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. 11d ago First seen · 152 lines · 56 tokens per session scan A 9d1ebbb8c3c2

Subscribe to this mod's changes

project-mgr is a skill published in the GitHub repository ZhuoZhuoCrayon/ai-workspace (27 stars, last pushed 4d ago), licensed MIT. It adds 56 tokens to every session and 1,665 once invoked, about $0.0003 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.

Related

Other skills, from other repositories