跳到主要内容
知仓学习社ZHICANG

agent-repo-init

One-click initialization of a multi-agent repository from the RepoBrain template. Use this skill when users want to scaffold a new project quickly (…

读凭据执行命令写文件严重 4 · 高危 1hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少2 个文本文件,11 KB
它会碰到什么读凭据执行命令写文件
命中总数7 处
命中统计严重 4 · 高 1 · 中 2 · 低 0
逐条看命中(5 条严重或高危)
  • 严重 scripts/init_project.py:96cred-paths
    env_example = target_path / ".env.example"
  • 严重 scripts/init_project.py:97cred-paths
    env_file = target_path / ".env"
  • 严重 scripts/init_project.py:306cred-paths
    "run /rb-setup (or configure OPENAI_* in .env)",
  • 严重 SKILL.md:12cred-paths
    - `full`: `quick` plus runtime profile setup (`.env`, mission, context profile, init report) and optional `git init`.
  • scripts/init_project.py:192exec-spawn
    subprocess.run(

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Agent Repo Init

Initialize a new project from this repository template with two modes.

Modes

  • quick: Fast scaffold with clean copy and minimal setup.
  • full: quick plus runtime profile setup (.env, mission, context profile, init report) and optional git init.

Run via Script

Use the portable script in this skill directory:

python skills/agent-repo-init/scripts/init_project.py \
  --project-name my-agent \
  --destination-root /absolute/path \
  --mode quick

Full mode example:

python skills/agent-repo-init/scripts/init_project.py \
  --project-name my-agent \
  --destination-root /absolute/path \
  --mode full \
  --enable-mcp \
  --disable-swarm \
  --sandbox-runtime microsandbox \
  --init-git

Expected Output

  • New project at <destination_root>/<project_name>
  • Clean copy without local runtime state
  • Initialization report at artifacts/logs/agent_repo_init_report.md
  • Script is self-contained and does not import project src/ modules

Notes

  • Keep destination outside the current template repository.
  • For full mode, review .context/agent_runtime_profile.md after generation.
  • Run /rb-setup in the generated project to choose and write the LLM endpoint.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径plugins/study8677/antigravity-workspace-template/skills/agent-repo-init/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 1910 个技能