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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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 withskills/<lowercase-hyphenated-id>/SKILL.mddirectories. - 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
From this skill directory, preview the local bundle:
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dry-runReview the diff. Only exact backtick-quoted tool identifiers such as
View,Edit, andBashchange. Frontmatter and support bytes remain intact. Verify each target tool and its argument semantics in your actual client.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.
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" --workspaceThis writes only
.agents/skills/<id>under the current working directory. Confirm that discovery path is supported by the intended host first.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.
热度
- GitHub 星标
- 48k
- 排名
- #5796
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。