Git Guardrails Claude Code
fossasia/eventyay-interpretation
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
Use AspectYuan or geologist-aspect-300 to help geologists reproduce ASPECT geodynamics papers and build ASPECT models with explicit version control, including Kaili, ONeill, and Gernon paper-code…
$ npx skills add naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install naikangyuan/Aspect_Yuan.skill geologist-aspect-300 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .claude/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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.
$ npx skills add naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install naikangyuan/Aspect_Yuan.skill geologist-aspect-300 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .agents/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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 naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install naikangyuan/Aspect_Yuan.skill geologist-aspect-300 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .cursor/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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.
$ npx skills add naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install naikangyuan/Aspect_Yuan.skill geologist-aspect-300 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .gemini/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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 naikangyuan/Aspect_Yuan.skill geologist-aspect-300Installs 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 naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .github/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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 naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install naikangyuan/Aspect_Yuan.skill geologist-aspect-300 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "geologist-aspect-300" agent skill from https://github.com/naikangyuan/Aspect_Yuan.skill/tree/main into .opencode/skills/geologist-aspect-300/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "geologist-aspect-300", 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.
geologist-aspect-300Use AspectYuan or geologist-aspect-300 to help geologists reproduce ASPECT geodynamics papers and build ASPECT models with explicit version control, including Kaili, ONeill, and Gernon paper-code…
Geologist Aspect 300 is an agent skill from naikangyuan/Aspect_Yuan.skill. Use AspectYuan or geologist-aspect-300 to help geologists reproduce ASPECT geodynamics papers and build ASPECT models with explicit version control, including Kaili, ONeill, and Gernon paper-code workflows, paper reproduction profiles, DOI/code repository/version/commit detection, ASPECT installation planning, downloaded article code, .prm parameter file generation, cookbook and benchmark adaptation, beginner teaching models, plugin development, material model setup, deep-shallow coupling, subduction, mantle…
Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 163 other files, including scripts, reference files and assets (for example `README.md`, `agents/openai.yaml` and `aspect_yuan/__init__.py`).
It sits in Agent Workflows, covering Hooks and plugins and Git workflow.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a10febd. 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.
Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
bashFrom 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.
Geologist Aspect 300 loads about 3.6k tokens when it runs, and up to ~82k if it reads all its reference files. Until then it costs about 177 tokens; SKILL.md has 1,503 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); the scripts in this folder are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 1,503 words (~3,631 tokens).
“This skill is for ordinary geologists using ASPECT, not ASPECT core developers. Its purpose is to reproduce published ASPECT-based geodynamics studies first, then translate a geological science question into a runnable, explainable, and modifiable ASPECT model.”
SKILL.md and 161 other files (scripts, references, assets) in the repository root of naikangyuan/Aspect_Yuan.skill.
Open the folder on GitHubat commit a10febd
Geologist Aspect 300 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 |
|---|---|---|---|---|---|---|
| Geologist Aspect 300 this skillnaikangyuan/Aspect_Yuan.skill | 102 | — | ~3.6k | Automated safety check: Pass | None | |
| Git Guardrails Claude Codefossasia/eventyay-interpretation | 1.6k | 12 repos | ~578 | Automated safety check: Pass | Apache-2.0 | |
| Git Guardrails Claude Codevinvcn/mattpocock-skills-zh-CN | 4.7k | — | ~461 | Automated safety check: Pass | MIT | |
| Git WorkflowsTencentCloudBase/CloudBase-AI-Toolkit | 1.1k | — | ~3k | Automated safety check: Pass | MIT | |
| Claude Code Plugin Structureanthropics/claude-plugins-official | 38k | 10 repos | ~3.4k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence |
fossasia/eventyay-interpretation
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
vinvcn/mattpocock-skills-zh-CN
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
TencentCloudBase/CloudBase-AI-Toolkit
Reusable git delivery workflows derived from local slash commands (commit, push, PR, release notes, GitHub Actions failure triage with worktree-based fixes, and isolating your own changes from a…
anthropics/claude-plugins-official
Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
udecode/plate
Build new Plate plugins with Slate-first architecture, sane typing, and explicit React/Plate wrapper boundaries.
Categories
Use AspectYuan or geologist-aspect-300 to help geologists reproduce ASPECT geodynamics papers and build ASPECT models with explicit version control, including Kaili, ONeill, and Gernon paper-code…. skill.
Geologist Aspect 300 fits situations like: tasks that involve Hooks and plugins; tasks that involve Git workflow.
Run `npx skills add naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a claude-code`. Or copy the skill folder (the naikangyuan/Aspect_Yuan.skill repository) into .claude/skills/geologist-aspect-300 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a codex`. Or copy the skill folder (the naikangyuan/Aspect_Yuan.skill repository) into .agents/skills/geologist-aspect-300 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 naikangyuan/Aspect_Yuan.skill --skill geologist-aspect-300 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/geologist-aspect-300, .gemini/skills/geologist-aspect-300, .github/skills/geologist-aspect-300 and .opencode/skills/geologist-aspect-300 in your project.
Going by SKILL.md and its folder, Geologist Aspect 300 needs Python for the scripts in its folder and the command-line tools its instructions call (bash). 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
No licence was found for Geologist Aspect 300 or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 3.6k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 78k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Geologist Aspect 300: Git Guardrails Claude Code (fossasia/eventyay-interpretation, 1.6k stars), Git Guardrails Claude Code (vinvcn/mattpocock-skills-zh-CN, 4.7k stars), Git Workflows (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars) and Claude Code Plugin Structure (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
naikangyuan (a GitHub user) maintains it in naikangyuan/Aspect_Yuan.skill, which has 102 GitHub stars. The repository was last updated on August 24, 2026.
Source: naikangyuan/Aspect_Yuan.skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.