跳到正文
Skillpedia
智能体48k · #5796

skill-porter

它能做什么

这个工具可以帮你为 Google Antigravity 这一新系统准备技能(一组指令)。它会检查并复制必要的文件,并对工具名称做少量调整。

适用场景

  • ✓当你要把本地技能适配到 Google Antigravity 时。
  • ✓想预览工具名称将如何被转换时。
  • ✓需要复制一整套完整的技能文件包时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skill-porter/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skill-porter/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何为 Google Antigravity 准备我本地的技能“my-agent”?”

每周 5 个新技能,1 分钟读完。

工作原理

你把工具指向技能所在的文件夹。它会先展示将要做的更改,然后把文件复制到新位置,方便直接使用。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Skill Porter for Google Antigravity

When to Use

Use when adapting a locally obtained Claude Code, Cursor, Codex, or generic agent skill bundle for Google Antigravity. The utility preserves support files and previews limited tool-name substitutions; it does not prove client compatibility.

Prerequisites

  • Python 3.9+; standard library only.
  • A reviewed local skill directory containing SKILL.md, that file itself, or a repository with skills/<lowercase-hyphenated-id>/SKILL.md directories.
  • Verify the upstream identity, pinned revision, license and complete bundle first. Obtain remote material separately through your reviewed download/clone workflow.
  • Use stable local directories you control. Do not run against a tree being modified by another process or user. Inspect scripts without executing them.

Workflow

  1. From this skill directory, preview the local bundle:

    python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dry-run
    
  2. Review the diff. Only exact backtick-quoted tool identifiers such as View, Edit, and Bash change. Frontmatter and support bytes remain intact. Verify each target tool and its argument semantics in your actual client.

  3. Copy to a fresh staging destination, then inspect before activating:

    python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dest "/absolute/path/staging"
    

    Existing skill destinations are rejected; no global paths are written.

  4. When the user requests workspace installation, verify the current project:

    python3 scripts/port_skill.py --source "/absolute/path/my-skill" --workspace --dry-run
    python3 scripts/port_skill.py --source "/absolute/path/my-skill" --workspace
    

    This writes only .agents/skills/<id> under the current working directory. Confirm that discovery path is supported by the intended host first.

  5. Review context-file references, tool argument shapes, client configuration, dependencies, licensing and multi-agent ordering manually. Validate the adapted skill and test actual client invocation before claiming compatibility.

Examples

For a multi-skill repository, use its local root as the source:

python3 scripts/port_skill.py --source "/absolute/path/reviewed-repository" --dry-run
python3 scripts/port_skill.py --source "/absolute/path/reviewed-repository" --dest "/absolute/path/fresh-output"

A source-only invocation defaults to preview. Remote URLs are rejected; obtain and inspect a pinned local checkout first. Run bundled tests from this directory:

PYTHONDONTWRITEBYTECODE=1 python3 -m unittest scripts/test_port_skill.py -v

Limitations

  • Conservative text adaptation only: no AST conversion, semantic optimization, automatic parallelization, artifact generation, or compatibility certification.
  • Context references and support scripts retain their original bytes and may need manual adaptation. Binary support files are copied intact, never interpreted.
  • Symbolic links and non-regular files are rejected. Input is bounded to 1,000 files and 20 MiB. This is not a sandbox against concurrent hostile filesystem changes; use only stable directories you control.
  • Disk or filesystem failure may leave a partial new destination. Inspect it and choose a fresh output for retries. There is no overwrite or rollback mode.
  • No downloads, credentials, network calls, global installation, plugin manifest generation/registration or external MCP setup. Verify tool availability in the actual host, whose version and capabilities may differ.

Source and license

Adapted from Pranav-Nexus/antigravity-skill-porter. The upstream MIT notice is preserved in LICENSE.

常见问题

什么是“技能”?

它们是你交给 AI 遵循的一组指令,类似于一个小程序或脚本。

什么是 Google Antigravity?

它是你要把 AI 技能适配过去的一个新系统或平台的名称。

这个工具会检查技能能否完美运行吗?

不会。它只负责准备文件并展示更改。你仍然需要在新系统中测试技能。

详情

作者的原始描述

Preview conservative tool-name translations and copy complete local skill bundles for manual adaptation to Google Antigravity.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5796
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能