← Back to Skills

gate-policy-generator

v1.0.0 official 4d ago
USK v3 ✅ Verified
⬇ Download
Install Guide↓
🤖 Agent install commands (curl / MCP / Claude Desktop)
▸ curl one-liner
curl -L -o gate-policy-generator.skill   "https://aiskillstore.io/v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=ClaudeCode"
▸ MCP tool call (after registering Skill Store MCP)
{
  "tool": "download_skill",
  "arguments": {
    "skill_id": "bb7f83c3-c941-486c-a365-6c374d33ae7e",
    "platform": "ClaudeCode"
  }
}
▸ Claude Desktop / Cursor MCP config (one-time)
{
  "mcpServers": {
    "skill-store": {
      "url": "https://aiskillstore.io/mcp/"
    }
  }
}
📖 Full agent API guide: /llms.txt  ·  MCP server card

生成 LGD-III「有门禁」权限策略(policy-as-code),给 agent 划清可调用/需评审/禁止的工具边界与四道门禁,防越权、误删误发、失控循环。 适用场景:当需要权限有门禁生成器能力时使用本技能;触发词:gate-policy-generator。

# gate-policy-generator # AI 治理

Basic Info

Owner 👤 Steven Zhao Category — Registered 2026-10-16 Last Updated 2026-10-16 Latest Version 1.0.0 Packaged At 2026-10-16 Vetting Status official Downloads 0 Checksum (SHA256) 581f54a28b66e7b7a2b2f6da91591c9bea6d75dc0e278dcb33f6db6b125f35f8

⚡ AGENT INFO USK v3

Capabilities
cli_tool
Permissions
✗ network
✗ filesystem
✗ subprocess
Interface
type: cli   entry_point: scripts/gate_policy.py   runtime: python3   call_pattern: args
Agent API
# 스킬 스키마 조회 (에이전트가 호출 방법을 파악) GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/schema # 플랫폼별 자동 변환 다운로드 GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=OpenClaw GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=ClaudeCode GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=ClaudeCodeAgentSkill GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=Cursor GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=GeminiCLI GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=CodexCLI GET /v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=CustomAgent

Installation

1
Install the skill using openclaw_skill_manager.py.
python openclaw_skill_manager.py --install gate-policy-generator
2
Verify installation
python openclaw_skill_manager.py --list-installed
3
Install a specific version (optional)
python openclaw_skill_manager.py --install gate-policy-generator --version 1.0.0
1
Download the skill package.
curl -O https://aiskillstore.io/v1/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download
2
Place it in the Claude Code commands directory.
unzip gate-policy-generator.skill -d ~/.claude/commands/gate-policy-generator/
3
Use it as a slash command in Claude Code.
/gate-policy-generator
1
Download the Agent Skills package.
curl -O https://aiskillstore.io/v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=ClaudeCodeAgentSkill
2
Unzip it into the Claude Code skills directory.
unzip gate-policy-generator-agent-skill-*.skill -d ~/.claude/skills/gate-policy-generator/
3
Restart Claude Code — the skill is auto-loaded at session start. No slash command needed.
1
Download the Cursor-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=Cursor
2
Unzip and place it in a permanent location.
unzip gate-policy-generator-cursor-*.skill -d ~/.cursor/skills/gate-policy-generator/
3
Add the MCP server config to .cursor/mcp.json, then restart Cursor.
cat ~/.cursor/skills/gate-policy-generator/cursor_mcp_config.json
1
Download the Gemini CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=GeminiCLI
2
Unzip and place it in a permanent location.
unzip gate-policy-generator-geminicli-*.skill -d ~/.gemini/skills/gate-policy-generator/
3
Add the MCP server config to ~/.gemini/settings.json, then restart Gemini CLI.
cat ~/.gemini/skills/gate-policy-generator/gemini_settings_snippet.json
1
Download the Codex CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download?platform=CodexCLI
2
Unzip and place it in a permanent location.
unzip gate-policy-generator-codexcli-*.skill -d ~/.codex/skills/gate-policy-generator/
3
Add the MCP server config to ~/.codex/config.toml, then restart Codex CLI.
cat ~/.codex/skills/gate-policy-generator/codex_config_snippet.toml
1
Download the skill package via REST API.
GET https://aiskillstore.io/v1/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/download
2
Place it in your agent platform's skills directory.
cp gate-policy-generator.skill ./skills/
3
Fetch platform-specific details via the Install Guide API.
GET https://aiskillstore.io/v1/skills/bb7f83c3-c941-486c-a365-6c374d33ae7e/install-guide?platform=CustomAgent

Requirements

Security Vetting Report

Vetting Result CAUTION

Findings: ["메타데이터 경고: 권장 필드 없음: 'platform_compatibility' (SKILL.md v2 권장)", "USK v3 경고: input_schema.type이 'object'가 아닙니다", "USK v3 경고: output_schema.type이 'object'가 아닙니다", 'USK v3 경고: 이 스킬은 자동 변환 조건을 충족하지 않아 manual_install로 처리됩니다']

✅ No security risks found.

AI Review Stage

Reviewer gemini Risk Level 🟡 Medium Review Summary AI 에이전트의 권한 정책을 생성하는 스킬로, 코드 자체는 안전해 보이나 메타데이터의 'permissions' 필드와 실제 파일 시스템 사용 간에 불일치가 발견되어 검토가 필요합니다.

Issues Found

  • 메타데이터의 'permissions.filesystem'이 'false'로 선언되었으나, 스킬의 기능(manifest 파일 읽기, policy 파일 쓰기)상 파일 시스템 접근이 필요합니다.
  • 메타데이터의 'risk_tier' 설명('读写文件/本地执行' - 파일 읽기/쓰기 및 로컬 실행)은 파일 시스템 접근을 시사하지만, 'permissions' 필드와 충돌합니다.
Reasoning

제공된 Python 코드 스니펫은 악의적인 동작(데이터 탈취, 시스템 파괴, 외부 통신 등)을 포함하지 않으며, 난독화되지 않았습니다. 특히 `_norm_risk` 함수에서 'fail-closed' 원칙을 적용하여 보안 취약점을 개선한 점은 긍정적입니다. 외부 라이브러리 의존성이 없어 공격 표면이 적습니다. 코드는 AI 에이전트의 권한 정책을 생성하는 스킬의 목적에 부합하며, 코드 품질도 양호합니다. 가장 큰 문제는 메타데이터의 `permissions.filesystem: false` 선언입니다. 스킬의 설명과 코드의 예상 동작(예: `--manifest agent_manifest.json`으로 매니페스트 파일 읽기, `--out policy.json`으로 정책 파일 쓰기)을 고려할 때, 이 스킬은 파일 시스템 접근 권한이 필요합니다. 이는 `permissions.filesystem: true`로 수정되어야 합니다. 메타데이터의 `risk_tier` 설명 또한 '파일 읽기/쓰기'를 언급하여 이 불일치를 더욱 명확히 합니다. 이 불일치는 잠재적인 보안 위험을 초래할 수 있으므로 `pending` 상태로 관리자 검토가 필요합니다. `allowed-tools` 필드는 이 스킬이 *생성하는 정책*이 허용할 수 있는 도구들을 나열하는 것으로 보이며, 이 스킬 자체의 직접적인 사용과는 다릅니다.

Version History

Version USK v3 Vetting Status Packaged At Downloads Changelog
v1.0.0 ✓ official 2026-10-16 ⬇ 0 1.0.0: initial upload (USK v3)

Reviews & Ratings

No reviews yet. Be the first to leave one!

✍️ Write a Review