Agent SkillsYaoApp/yao › yao-workspace-config

yao-workspace-config

GitHub

管理工作区级别的 Git 配置、HTTPS 凭证及 SSH 密钥,支持获取/设置配置、管理访问令牌和导入/删除 SSH 密钥。

tools/skills/yao-workspace-config/SKILL.md YaoApp/yao

Trigger Scenarios

配置 Git 用户信息 添加 HTTPS 令牌 导入 SSH 密钥 管理工作区 Git 认证

Install

npx skills add YaoApp/yao --skill yao-workspace-config -g -y
More Options

Non-standard path

npx skills add https://github.com/YaoApp/yao/tree/main/tools/skills/yao-workspace-config -g -y

Use without installing

npx skills use YaoApp/yao@yao-workspace-config

指定 Agent (Claude Code)

npx skills add YaoApp/yao --skill yao-workspace-config -a claude-code -g -y

安装 repo 全部 skill

npx skills add YaoApp/yao --all -g -y

预览 repo 内 skill

npx skills add YaoApp/yao --list

SKILL.md

Frontmatter
{
    "name": "yao-workspace-config",
    "description": "Workspace Git identity and credential management. ALWAYS invoke this skill when the user asks about configuring Git user info, adding HTTPS tokens, importing SSH keys, or managing workspace-level Git authentication."
}

Workspace Git Config Tools

Manage workspace-level Git configuration, HTTPS credentials, and SSH keys.

workspace_git_config

Get or set workspace-level Git configuration values.

# Get all config
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"get"}'

# Get specific key
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"get","key":"user.name"}'

# Set config
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"set","key":"user.name","value":"John"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes get or set
key string no Config key (e.g. user.name). Empty returns all.
value string for set Config value

workspace_git_credential

Manage HTTPS Git credentials (personal access tokens).

# Set credential
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"set","host":"github.com","token":"ghp_xxx"}'

# List credentials (tokens are not exposed)
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"list"}'

# Delete credential
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"delete","host":"github.com"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes set, list, or delete
host string for set/delete Git host (e.g. github.com)
username string no Username (defaults to x-access-token)
token string for set Access token

workspace_ssh_key

Manage SSH keys for Git authentication.

# Import SSH key
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"import","name":"github","private_key":"-----BEGIN...","host":"github.com"}'

# List SSH keys (private keys not exposed)
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"list"}'

# Delete SSH key
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"delete","name":"github"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes import, list, or delete
name string for import/delete Key name
private_key string for import PEM-encoded private key
public_key string no Public key (derived from private_key if omitted)
host string no Git host to associate (e.g. github.com)

Version History

  • 94ab88a Current 2026-08-20 19:13

Same Skill Collection

tools/skills/yao-agent/SKILL.md
tools/skills/yao-audio/SKILL.md
tools/skills/yao-board/SKILL.md
tools/skills/yao-doc/SKILL.md
tools/skills/yao-image/SKILL.md
tools/skills/yao-process/SKILL.md
tools/skills/yao-secret/SKILL.md
tools/skills/yao-web/SKILL.md
tools/skills/yao-workspace/SKILL.md

Metadata

Files
0
Version
5a3f9a6
Hash
b80f10b1
Indexed
2026-08-20 19:13

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 14:05
浙ICP备14020137号-1 $Carte des visiteurs$