Agent Skillsxuiltul/animaworks › workspace-manager

workspace-manager

GitHub

管理Anima作业目录(工作空间)的注册、列表、删除及权限分配。支持通过别名或哈希引用项目路径,实现多项目间的切换与共享访问控制。

templates/ja/common_skills/workspace-manager/SKILL.md xuiltul/animaworks

Trigger Scenarios

需要注册新的项目目录到Anima系统 需要查看当前可用的工作空间列表 需要在不同项目目录间切换工作环境 需要将工作空间权限分配给其他Anima实例

Install

npx skills add xuiltul/animaworks --skill workspace-manager -g -y
More Options

Non-standard path

npx skills add https://github.com/xuiltul/animaworks/tree/main/templates/ja/common_skills/workspace-manager -g -y

Use without installing

npx skills use xuiltul/animaworks@workspace-manager

指定 Agent (Claude Code)

npx skills add xuiltul/animaworks --skill workspace-manager -a claude-code -g -y

安装 repo 全部 skill

npx skills add xuiltul/animaworks --all -g -y

预览 repo 内 skill

npx skills add xuiltul/animaworks --list

SKILL.md

Frontmatter
{
    "name": "workspace-manager",
    "tags": [
        "workspace",
        "directory",
        "project",
        "management"
    ],
    "description": "ワークスペース(作業ディレクトリ)の登録・一覧・削除・割り当てを設定する。 Use when: プロジェクトパスをAnimaに紐付け、エイリアス管理、作業ディレクトリの切り替えが必要なとき。"
}

ワークスペース管理

Animaが作業するプロジェクトディレクトリ(ワークスペース)を管理するスキル。

概念

Animaは普段「自分の家」(~/.animaworks/animas/{name}/)にいる。 プロジェクトの作業をするときは「仕事場」(ワークスペース)に出かけて作業する。

ワークスペースは組織共有のレジストリ(config.json の workspaces セクション)に登録し、エイリアス#ハッシュで参照する。

エイリアスとハッシュ

  • エイリアス: 人間が付ける短い名前(例: myproject
  • ハッシュ: パスのSHA-256先頭8桁が自動付与される(例: 3af4be6e
  • 完全形: myproject#3af4be6e — 衝突の可能性がゼロ
  • ツール引数にはエイリアスのみ、完全形、ハッシュのみ、絶対パスのいずれも使用可能

操作方法

登録

人間から明示指示を受けたトップレベルAnimaは grant_workspace_access を使う:

{
  "alias": "finance-dashboard",
  "path": "/absolute/path/to/project",
  "make_default": true
}

このツールは組織共有レジストリへの登録、permissions.json.file_roots への書き込み権限追加、必要に応じた status.json.default_workspace 更新をまとめて行う。

注意: ディレクトリが存在しない場合はエラーになる。 注意: read_memory_file(path="config.json") は自分のAnimaディレクトリの config.json を読む。組織共有レジストリの登録には使わない。

一覧

組織共有レジストリの一覧は core.workspace.list_workspaces() で確認する。read_memory_file(path="config.json") は使わない。

削除

削除は管理者操作として扱う。通常の作業では既存エイリアスを上書きせず、新しいエイリアスを登録する。

自分のデフォルトワークスペース変更

トップレベルAnimaは grant_workspace_accessmake_default: true を指定する。 非トップレベルAnimaは自分で権限追加できない。トップレベルAnimaに人間から指示してもらう。

部下への割り当て(スーパバイザー用)

人間から明示指示を受けたトップレベルAnimaは target_anima を指定して部下または子孫Animaに権限を付与できる:

{
  "alias": "finance-dashboard",
  "path": "/absolute/path/to/project",
  "target_anima": "ritsu",
  "make_default": true
}

ツールでの使用

  • submit_tasks: 各タスクの workspace フィールドにエイリアスを指定
  • delegate_task: workspace フィールドにエイリアスを指定

注意事項

  • ディレクトリは登録時・使用時の両方で存在確認される
  • 存在しないディレクトリを登録しようとするとエラー
  • エイリアスを上書きするとハッシュも変わるため、旧ハッシュ参照は解決失敗する
  • 人間はハッシュを覚える必要なし — エイリアスだけでOK

Version History

  • 050238c Current 2026-08-20 03:20

    移除了对已废弃machine工具的使用指引,清理了过时的文档说明。

  • 140e43b 2026-07-25 09:14

Same Skill Collection

.claude/skills/pixel-asset-gen/SKILL.md
templates/en/common_skills/agent-browser/SKILL.md
templates/en/common_skills/animaworks-guide/SKILL.md
templates/en/common_skills/aws-collector-tool/SKILL.md
templates/en/common_skills/chatwork-tool/SKILL.md
templates/en/common_skills/cron-management/SKILL.md
templates/en/common_skills/discord-tool/SKILL.md
templates/en/common_skills/github-tool/SKILL.md
templates/en/common_skills/gmail-tool/SKILL.md
templates/en/common_skills/google-calendar-tool/SKILL.md
templates/en/common_skills/google-tasks-tool/SKILL.md
templates/en/common_skills/image-gen-tool/SKILL.md
templates/en/common_skills/image-posting/SKILL.md
templates/en/common_skills/local-llm-tool/SKILL.md
templates/en/common_skills/machine-tool/SKILL.md
templates/en/common_skills/notion-tool/SKILL.md
templates/en/common_skills/skill-creator/SKILL.md
templates/en/common_skills/slack-tool/SKILL.md
templates/en/common_skills/subagent-cli/SKILL.md
templates/en/common_skills/subordinate-management/SKILL.md
templates/en/common_skills/tool-creator/SKILL.md
templates/en/common_skills/transcribe-tool/SKILL.md
templates/en/common_skills/web-search-tool/SKILL.md
templates/en/common_skills/workspace-manager/SKILL.md
templates/en/common_skills/x-search-tool/SKILL.md
templates/en/common_skills/zoom-meeting-scribe/SKILL.md
templates/ja/common_skills/agent-browser/SKILL.md
templates/ja/common_skills/animaworks-guide/SKILL.md
templates/ja/common_skills/aws-collector-tool/SKILL.md
templates/ja/common_skills/chatwork-tool/SKILL.md
templates/ja/common_skills/cron-management/SKILL.md
templates/ja/common_skills/discord-tool/SKILL.md
templates/ja/common_skills/github-tool/SKILL.md
templates/ja/common_skills/gmail-tool/SKILL.md
templates/ja/common_skills/google-calendar-tool/SKILL.md
templates/ja/common_skills/google-tasks-tool/SKILL.md
templates/ja/common_skills/image-gen-tool/SKILL.md
templates/ja/common_skills/image-posting/SKILL.md
templates/ja/common_skills/local-llm-tool/SKILL.md
templates/ja/common_skills/machine-tool/SKILL.md
templates/ja/common_skills/notion-tool/SKILL.md
templates/ja/common_skills/skill-creator/SKILL.md
templates/ja/common_skills/slack-tool/SKILL.md
templates/ja/common_skills/subagent-cli/SKILL.md
templates/ja/common_skills/subordinate-management/SKILL.md
templates/ja/common_skills/tool-creator/SKILL.md
templates/ja/common_skills/transcribe-tool/SKILL.md
templates/ja/common_skills/web-search-tool/SKILL.md
templates/ja/common_skills/x-search-tool/SKILL.md

Metadata

Files
0
Version
050238c
Hash
ee57ff7a
Indexed
2026-07-25 09:14

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 11:53
浙ICP备14020137号-1 $Гость$