Token导航 LogoToken导航TokenDH.com
待分类可写文件github未标认证来源可访问许可证需确认审计异常

skill-system-gate技能系统门

Agent Skill

skill-system-gate 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

870

周安装

37

GitHub Stars

4

下载量

305
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-system-gate(技能系统门)
来源仓库:https://github.com/arthur0824hao/skills
仓库路径:skills/skill-system-gate
安装命令:
npx skills add https://github.com/arthur0824hao/skills --skill skill-system-gate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/arthur0824hao/skills --skill skill-system-gate

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在开发流程中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • skill-system-gate 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Skill System Gate

Enforce a fail-closed gate before experiment registration and provide read-only registry safety/status checks.

Decision Matrix

Task IntentOperationPrimary BackendUse When
Validate repository artifacts against configurable gate rulesvalidatescripts/gate_validate.pyBefore close-gate decisions or deterministic policy checks
Validate experiment implementation and logs against gate rulesvalidate-experimentpreprocess_lib.gate_engineLegacy GNN/FraudDetect pipeline checks
Check whether registry state is safe for rerun/resetverify-registrydb_registry.DBExperimentsDBBefore any manual reset/rerun action
View queue health and state countsstatusdb_registry.DBExperimentsDBNeed a quick dashboard of current experiment states

Core Patterns

Pattern 1: Validate repository gate compliance

python3 scripts/gate_validate.py --rules config/gate_rules.yaml --artifact-root .
  • Load configurable gate_rules.yaml.
  • Support rule types: command, structural, eda-contract.
  • Emit markdown verdict and JSON summary on the last line.

Pattern 2: Validate legacy experiment gate compliance

scripts/validate_exp.sh <exp_name> [phase_root]
  • Load gate_bank.json rules.
  • Run all rule classes (source_contains, source_not_contains, stderr_scan, file_exists, file_min_size).
  • Emit markdown verdict and JSON summary on the last line.

Pattern 3: Verify registry safety before reset decisions

scripts/check_registry.sh <exp_name> [phase_root]
  • Read registry entry for the experiment.
  • Block reset recommendation for RUNNING experiments.
  • Return status details and safe_to_reset decision JSON.

Pattern 4: Show current registry health dashboard

scripts/status.sh [phase_root]
  • Aggregate counts across active/completed sets.
  • Show running experiments and execution location.
  • Return compact JSON counters on the last line.

Guidelines

  • Always treat validation as fail-closed: any error-severity rule violation means gate failure.
  • Always run validate-experiment before registry-facing actions.
  • Never modify experiment source/config files during checks.
  • Never execute reset/rerun from this skill; only report recommendations.
  • Never override RUNNING experiments as safe to reset.
  • Keep all operations read-only with respect to registry and experiment artifacts.
{
  "schema_version": "2.0",
  "id": "skill-system-gate",
  "version": "1.0.0",
  "capabilities": ["configurable-gate", "experiment-gate", "registry-safety", "experiment-status"],
  "effects": ["fs.read", "db.read", "proc.exec"],
  "operations": {
    "validate-experiment": {
      "description": "Validate experiment source artifacts and logs against gate_bank rules and return a pass/fail verdict.",
      "input": {
        "exp_name": { "type": "string", "required": true, "description": "Experiment directory name under experiments/" },
        "phase_root": { "type": "string", "required": false, "description": "Phase directory path", "default": "/datas/store162/arthur0824hao/Study/GNN/FraudDetect/SubProject/Phase3" }
      },
      "output": {
        "description": "Gate validation markdown plus machine-readable verdict.",
        "fields": { "passed": "boolean", "errors": "number", "warnings": "number" }
      },
      "entrypoints": {
        "unix": ["bash", "scripts/validate_exp.sh", "{exp_name}", "{phase_root}"]
      }
    },
    "validate": {
      "description": "Run configurable gate_rules.yaml checks and emit pass/fail with per-rule results.",
      "input": {
        "rules": { "type": "string", "required": false, "description": "Path to gate rules file", "default": "config/gate_rules.yaml" },
        "artifact_root": { "type": "string", "required": false, "description": "Working directory for rule execution", "default": "." }
      },
      "output": {
        "description": "Gate verdict with per-rule details.",
        "fields": { "passed": "boolean", "errors": "number", "warnings": "number" }
      },
      "entrypoints": {
        "unix": ["python3", "scripts/gate_validate.py", "--rules", "{rules}", "--artifact-root", "{artifact_root}"]
      }
    },
    "verify-registry": {
      "description": "Check registry state safety and recommend whether reset/rerun is safe without mutating state.",
      "input": {
        "exp_name": { "type": "string", "required": true, "description": "Experiment name in registry" },
        "phase_root": { "type": "string", "required": false, "description": "Phase directory path", "default": "/datas/store162/arthur0824hao/Study/GNN/FraudDetect/SubProject/Phase3" }
      },
      "output": {
        "description": "Registry safety markdown plus recommendation payload.",
        "fields": { "found": "boolean", "status": "string", "safe_to_reset": "boolean" }
      },
      "entrypoints": {
        "unix": ["bash", "scripts/check_registry.sh", "{exp_name}", "{phase_root}"]
      }
    },
    "status": {
      "description": "Show current registry dashboard with counts by status and running experiment details.",
      "input": {
        "phase_root": { "type": "string", "required": false, "description": "Phase directory path", "default": "/datas/store162/arthur0824hao/Study/GNN/FraudDetect/SubProject/Phase3" }
      },
      "output": {
        "description": "Registry status dashboard and aggregate counters.",
        "fields": { "running": "number", "needs_rerun": "number", "completed": "number", "total": "number" }
      },
      "entrypoints": {
        "unix": ["bash", "scripts/status.sh", "{phase_root}"]
      }
    }
  },
  "stdout_contract": {
    "last_line_json": true
  }
}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.07%
按下载量换算101

Claude

32.51%
按下载量换算99

Cursor

21.37%
按下载量换算65

Gemini CLI

8.99%
按下载量换算27

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills