China Travel Kit
tczyliu/china-travel-kit
Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.
Load BEFORE translating Python source to Lean 4. An agent skill from sunblaze-ucb/vero.
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-python --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/vero-source-python .claude/skills/vero-source-python && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .claude/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-pythonType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-python --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/vero-source-python .agents/skills/vero-source-python && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .agents/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-python --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/vero-source-python .cursor/skills/vero-source-python && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .cursor/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sunblaze-ucb/vero.git --path .claude/skills/vero-source-python--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-python --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/vero-source-python .gemini/skills/vero-source-python && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .gemini/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sunblaze-ucb/vero vero-source-pythonInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/vero-source-python .github/skills/vero-source-python && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .github/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sunblaze-ucb/vero --skill vero-source-python -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-python --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/vero-source-python .opencode/skills/vero-source-python && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "vero-source-python" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-python into .opencode/skills/vero-source-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-python", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
vero-source-pythonLoad BEFORE translating Python source to Lean 4. An agent skill from sunblaze-ucb/vero.
Vero Source Python is an agent skill from sunblaze-ucb/vero. Load BEFORE translating Python source to Lean 4. Provides Python-specific classification rules, type mappings, stdlib-opaque modeling guidance, and patterns for mapping Python constructs into the ratified bundle paradigm (Impl/ + Spec/ + Bundle + Harness). Pair with vero-discover, vero-plan, vero-translate, vero-spec-write, and vero-python-pitfalls.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Writing & Content, covering Translation. It works with Python. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0a7325d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are lean and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Vero Source Python loads about 1.9k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 703 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sunblaze-ucb/vero at commit 0a7325d, republished under its Apache-2.0 licence (© sunblaze-ucb). 703 words, ~1,936 tokens.
.claude/skills/vero-source-python/SKILL.md (or your agent's skills folder).Python source has no built-in spec language. The python_spec workflow translates Python to Lean (this skill + vero-translate), then spec_write (separate skill) authors the specifications. This skill covers the discover → plan → translate stages.
Reference the canonical shape at reference/BankLedger/. Every emitted file mirrors that layout.
Python items map to:
| Python construct | Lean classification |
|---|---|
top-level def or class method, no leading underscore | API (kind=api) |
def _foo or def __foo | API helper (kind=api_helper); not exposed in apis[] sig list |
class Foo: (data) | Type (structure in Lean) |
class Foo: (mixin / pure-method) | Type + companion API methods |
| module-level constant | curator decides — usually inlined in Impl, occasionally a def |
docstring with >>> doctests | Test candidate — emit as #guard in Test.lean |
import math, import sys, ... | External lib — model as opaque (see below) |
If the source repo has typing annotations, prefer them as ground truth. Without annotations, infer from usage and flag with @review human.
| Python type | Lean target |
|---|---|
int | Int (or Nat if always non-negative — verify and annotate) |
bool | Bool |
float | Float (with @review human: floating-point semantics differ) |
str | String |
bytes | ByteArray |
list[T] | List T |
tuple[T, U] | T × U |
dict[K, V] | AssocList K V (or Std.HashMap K V if order doesn't matter and [Hashable K] is available) |
set[T] | List T (with curator-given nodup-style invariant in spec_helper) — there's no canonical Set T in core Lean 4 |
Optional[T] / `T | None` |
Iterable[T] | List T (eager); flag if streaming semantics matter |
user class Foo | structure Foo where |
Python's standard library and ecosystem have no Lean equivalents in many cases. Pattern:
-- !benchmark @start global_aux
/-- Opaque model of `math.sqrt`. The benchmark does not constrain the
return value beyond non-negativity; downstream specs encode the
minimum needed (e.g., square root of n is ≤ n).
@review human: confirm this opaque model is sufficient for the
intended specs. -/
opaque sqrt : Int → Int
axiom sqrt_nonneg : ∀ n, 0 ≤ sqrt n -- only if a spec actually needs it
-- !benchmark @end global_auxRules:
opaque. Never rely on Mathlib's Real.sqrt etc. — the benchmark must be self-contained on a Mathlib-free toolchain unless the curator decides otherwise.axiom only when a spec demands it. Prefer opaque alone. Each axiom must be added to manifest.json::trusted_axioms (the grader's allowlist).@review human annotation every external-lib model, naming the lib + the assumption being made.collections.Counter → custom AssocList Key Nat-backed structurefunctools.reduce → List.foldlitertools.combinations → custom recursive helper, flag complexityre (regex) → lean-regex library OR opaque + axiom; usually opaqueOne Python file → one Impl module + one Spec module + one manifest entry:
src/foo.py
↓
<Project>/Impl/Foo.lean -- types + APIs, with translated reference impls in code markers
<Project>/Spec/Foo.lean -- empty until spec_write fills
manifest.json -> packages[0].modules[?] = { name=Foo, impl=..., spec=..., apis=[...] }Multi-file Python packages (pkg/__init__.py, pkg/sub.py) flatten by moduling: <Project>/Impl/Pkg.lean, <Project>/Impl/PkgSub.lean. Document the flattening in curation/notes.md.
-- File header / imports
-- !benchmark @start imports
import <Project>.Bundle
-- !benchmark @end imports
-- Module docstring (curator-written, frozen)
/-! # <Project>.Impl.<ModuleName>
<one-paragraph summary of the module's purpose, ported from the
Python module docstring + reading the source>
-/
namespace <Project>
-- Types (curator-given, frozen — no markers around individual types)
structure Foo where ...
deriving Repr, BEq
-- Sig abbrevs (one per API, listed in manifest)
abbrev BarSig := Int → Foo → Foo
abbrev BazSig := Foo → Bool
-- Opaque external models + their axioms (if needed)
-- !benchmark @start global_aux
opaque sqrt : Int → Int
-- !benchmark @end global_aux
-- APIs — one !benchmark code pair per api; body is the translated reference implementation
-- !benchmark @start code_aux def=bar
-- !benchmark @end code_aux def=bar
-- !benchmark @start code def=bar
def <Project>.bar : <Project>.BarSig :=
-- translated Python body, not `sorry`
...
-- !benchmark @end code def=bar
end <Project>API helpers (Python _foo) get the same code + code_aux marker pair but without an abbrev <Foo>Sig — manifest lists them under api_helpers[] (kind=api_helper), and validator skips the sig-abbrev requirement.
Test.lean)For every doctest in the Python source, emit a #guard:
def factor(n: int) -> int:
"""
>>> factor(9)
3
"""
...→
/-- doctest: factor(9) -> 3 -/
#guard <Project>.factor 9 == 3If the Python source has no doctests, ask the curator (via @review human) what #guards to add. Do not invent expected outputs that are not grounded in the Python source, documentation, or a curator-approved oracle.
The plan emitted by vero-plan has the same shape as for Dafny/Verus/Coq — api_namespace, packages, modules, types, apis with lean_name + sig_abbrev + lean_type. The difference: specs[] may be empty (you're not mining them from source) and the ref_impls[] come from the Python translation, not a verified reference.
lake build succeeds.apis[] entry in manifest.json has its abbrev <Sig> + def <Project>.<name> with a real translated reference body inside the code marker in the right Impl file.opaque (and optional axiom) in global_aux, with a @review human annotation.Spec/<Module>.lean files exist as scaffolds — import <Project>.Harness + module docstring + DO NOT MODIFY notice; they will be filled by spec_write.Test.lean has #guards for every doctest found in source (or @review human notes for the curator if absent).sorry in the curated benchmark. The body inside the code marker is the curator's translated reference implementation; pre-agent generation replaces it with sorry before the benchmark is shown to the solving agent.spec_write.Mathlib imports unless the curator's human_guidance.md explicitly authorizes it.instance blocks for DecidableEq/BEq/Hashable on opaque types — the opaque declaration deliberately blocks decidable equality.print / input / file I/O. Skip those APIs and add a @review human note explaining the omission.© sunblaze-ucb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/vero-source-python of sunblaze-ucb/vero.
Open the folder on GitHubat commit 0a7325d
Vero Source Python next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Vero Source Python this skillsunblaze-ucb/vero | 107 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| China Travel Kittczyliu/china-travel-kit | 194 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Technology Searchfreestylefly/wesight | 943 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Translate Popython/python-docs-zh-tw | 284 | — | ~793 | Automated safety check: Pass | Custom licence | |
| Obs Build LogsNuitka/Nuitka | 15k | — | ~849 | Automated safety check: Pass | AGPL-3.0 | |
| Update Gui TranslationsArduPilot/MethodicConfigurator | 163 | — | ~1.5k | Automated safety check: Pass | GPL-3.0 |
tczyliu/china-travel-kit
Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.
freestylefly/wesight
Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.
python/python-docs-zh-tw
Translates PO file entries from English to Traditional Chinese (zhTW) following project conventions.
Nuitka/Nuitka
Access and diagnose openSUSE Build Service (OBS) package build logs.
ArduPilot/MethodicConfigurator
Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.
python/python-docs-zh-tw
Checks terminology consistency against project glossary and identifies zhCN terms that need conversion to zhTW.
sunblaze-ucb/vero
A skill your agent uses when scanning a verified source repo (Dafny, Verus, or Coq) to classify every item and produce per-file discovery markdown for human curation.
sunblaze-ucb/vero
A skill your agent uses when translating selected verified items from Dafny/Verus/Coq into a compilable Lean 4 benchmark.
sunblaze-ucb/vero
Load BEFORE translating any Coq item to Lean 4 to avoid known Coq→Lean pitfalls.
sunblaze-ucb/vero
Load BEFORE translating any Dafny item to Lean 4 to avoid known Dafny→Lean pitfalls.
sunblaze-ucb/vero
Load BEFORE writing any Lean 4 translation to avoid common Lean pitfalls (universes, coercions, type-class resolution, notation).
sunblaze-ucb/vero
Use after vero-select to write a detailed translation plan as .vero/plan.json — the authoritative contract the TRANSLATE stage executes.
Works with
Categories
Load BEFORE translating Python source to Lean 4. An agent skill from sunblaze-ucb/vero. Vero Source Python is an agent skill from sunblaze-ucb/vero. Load BEFORE translating Python source to Lean 4.
Vero Source Python fits situations like: tasks that involve Translation.
Run `npx skills add sunblaze-ucb/vero --skill vero-source-python -a claude-code`. Or copy the skill folder (.claude/skills/vero-source-python in sunblaze-ucb/vero) into .claude/skills/vero-source-python in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sunblaze-ucb/vero --skill vero-source-python -a codex`. Or copy the skill folder (.claude/skills/vero-source-python in sunblaze-ucb/vero) into .agents/skills/vero-source-python in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sunblaze-ucb/vero --skill vero-source-python -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vero-source-python, .gemini/skills/vero-source-python, .github/skills/vero-source-python and .opencode/skills/vero-source-python in your project.
SKILL.md names no scripts, command-line tools or credentials: Vero Source Python is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Vero Source Python is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Vero Source Python: China Travel Kit (tczyliu/china-travel-kit, 194 stars), Technology Search (freestylefly/wesight, 943 stars), Translate Po (python/python-docs-zh-tw, 284 stars) and Obs Build Logs (Nuitka/Nuitka, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sunblaze-ucb (a GitHub organization) maintains it in sunblaze-ucb/vero, which has 107 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on August 17, 2026.
Source: sunblaze-ucb/vero on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.