skill-porter
Preview conservative tool-name translations and copy complete local skill bundles for manual adaptation to Google Antigravity.
它会碰到什么
逐条看命中(2 条严重或高危)
- 高
scripts/test_port_skill.py:20identity-writeself.original = b'---\nname: sample-skill\ndescription: "View: metadata"\n---\n`View` then `Bash`. View prose. CLAUDE.md.\n'
- 高
scripts/test_port_skill.py:38identity-writeself.assertIn('`view_file` then `run_command`. View prose. CLAUDE.md.', s)
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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
- From this skill directory, preview the local bundle:
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dry-run
- 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.
- 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" --workspace
This 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](LICENSE).
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/agentic-awesome-skills-claude/skills/skill-porter/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 3 个不同仓库或目录里都有叫 skill-porter 的技能。它们内容并不相同,别混用:
- sickn33/agentic-awesome-skills — Preview conservative tool-name translations and copy complete local skill bundles for manu
- sickn33/agentic-awesome-skills — Preview conservative tool-name translations and copy complete local skill bundles for manu