Agent Skills › xuiltul/animaworks › workspace-manager

workspace-manager

GitHub

管理项目工作区目录的注册、列表查询、移除及默认设置。支持别名与哈希引用,提供子工作区分配功能,确保路径验证与安全访问控制。

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

Trigger Scenarios

绑定项目路径到工作区 管理工作区别名 切换工作区根目录

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/en/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": "Registers, lists, removes, and assigns workspaces (project directories) for Anima work. Use when: binding project paths to Anima, managing aliases, or switching workspace roots."
}

Workspace Management

Skill for managing project directories (workspaces) where Animas perform work.

Concept

Anima is usually at “its own home” (~/.animaworks/animas/{name}/)). When working on a project, it goes to the “workplace” (workspace) to work.

Workspaces are registered in the organization-shared registry (the workspaces section of config.json) and referenced as alias#hash.

Aliases and Hashes

  • Alias: A short name assigned by humans (e.g., myproject)
  • Hash: The first 8 hex digits of the path's SHA-256, auto-generated (e.g., 3af4be6e)
  • Qualified form: myproject#3af4be6e — zero collision risk
  • Tool arguments accept alias only, qualified form, hash only, or absolute path

Operations

Registration

A top-level Anima that has received explicit instruction from a human uses grant_workspace_access:

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

This tool requests the root host to update the organization-shared registry and the root-owned permissions.json / status.json. Do not write configuration files directly from the Anima process.

Note: An error occurs if the directory does not exist. Note: read_memory_file(path="config.json") reads the config.json in its own Anima directory. It is not used for registering in the organization-shared registry.

List

Use core.org.workspace.list_workspaces() to inspect the shared registry. Do not use read_memory_file(path="config.json").

Remove

Treat removal as an administrator operation. For normal work, avoid overwriting an existing alias and register a new alias instead.

Change Your Default Workspace

A top-level Anima sets make_default: true when calling grant_workspace_access. Non-top-level Animas cannot grant themselves workspace access; ask the top-level Anima via a human instruction.

Assign to Subordinates (for Supervisors)

A top-level Anima with an explicit human instruction can grant access to a subordinate or descendant by setting target_anima:

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

Tool Usage

  • submit_tasks: Specify alias in each task's workspace field
  • delegate_task: Specify alias in the workspace field

Notes

  • Directories are validated both at registration and at resolution time
  • Attempting to register a non-existent directory results in an error
  • Overwriting an alias changes the hash, so old hash references will fail to resolve
  • Humans don't need to remember hashes — alias alone is sufficient

Version History

  • 0f2a80e Current 2026-10-19 11:11

    重构配置所有权:工作区注册改为通过 root 主机更新共享注册表及权限文件,禁止 Anima 进程直接写入配置文件;修正了注册失败时的错误提示说明。

  • edd4a93 2026-09-28 03:35
  • b671e07 2026-09-09 10:19
  • 140e43b 2026-07-25 09:12

Same Skill Collection

.claude/skills/bustup-frame-gen/SKILL.md
.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/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/workspace-manager/SKILL.md

Metadata

Files
0
Version
0f2a80e
Hash
0ce662a1
Indexed
2026-07-25 09:12

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-25 04:27
浙ICP备14020137号-1