ase-repo-import

ase-repo-import is a skill for Claude Code from rse/ase. It costs 135 tokens per session (5,019 once invoked), scanned C, original, Apache-2.0.

A workflow for bringing a pull request, merge request, commit, diff, or patch into the current Git working copy. Git is the version-control system used to track code changes.

In plain words
What is it for?
Use it to import changes from GitHub, GitLab, or Gitea, or to apply a patch or diff to the current checkout.
Why use it?
It gives one process for importing changes while checking the repository state and handling conflicts with local work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ase plugin — 65 skills, 12 agents, 5 hooks shipped together

Good fit Use it to import changes from GitHub, GitLab, or Gitea, or to apply a patch or diff to the current checkout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rse/ase/ase-repo-import
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rse/ase --skill ase-repo-import
Clone the repo
git clone --depth 1 https://github.com/rse/ase

Made for: Claude Code.

Or install ase, the plugin that ships this one along with the rest of its 65 skills, 12 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ase-repo-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/rse/ase/ase-repo-import/github.svg)](https://agentmods.dev/skills/rse/ase/ase-repo-import)
Your own site
<a href="https://agentmods.dev/skills/rse/ase/ase-repo-import"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-repo-import/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ase-repo-import

Your own site · 80×15
<a href="https://agentmods.dev/skills/rse/ase/ase-repo-import"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-repo-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00135 $0.05019
Opus 5.5 $0.00054 $0.02008
Sonnet 5.5 $0.00027 $0.01004
Haiku 4.5 $0.00014 $0.00502

Measured 8d ago against content hash 2ca968f8e76e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

ase-repo-import scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- "Bash(rm -rf *)"
plugin/skills/ase-repo-import/SKILL.md · 461 lines

How it starts

The opening of the file, as written. The whole thing — 461 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

$ARGUMENTS

@${CLAUDE_SKILL_DIR}/../../meta/ase-common-resolve.md

Procedure

    1. Set (empty) and (empty). Set to with any leading and trailing whitespace and any surrounding quotes stripped. If is empty, expand the following:

    2. Capture the outputs of the commands git rev-parse --show-toplevel and git rev-parse --absolute-git-dir (taken exactly as given) into and . If a command fails, expand the following:

    3. Run the command git -C "<repo-root/>" ls-files --unmerged. If its output is not empty, expand the following, as the conflicts of the import could not be told apart from the existing ones:

    4. Classify into by the first matching form:

      • #<number/> (only digits after the #): set to request. The form always references the number of the forge and never a task id of ASE. Determine the remotes by running the command git -C "<repo-root/>" remote and set to upstream if it exists, else to origin if it exists. Otherwise, expand the following:

      • A value starting with http:// or https://: remove any ?... and #... suffix and match the remainder as <repo-url/>/<path/>, where is one of:

        • commit/<sha/> or -/commit/<sha/>, or pull/<number/>/commits/<sha/> or pulls/<number/>/commits/<sha/>: set to commit.

        • pull/<number/>, pulls/<number/>, or -/merge_requests/<number/>, optionally followed by .diff, .patch, or /<anything/>: set to request.

        The URL is valid only if matches the regexp ^https?://[A-Za-z0-9.:-]+(/[A-Za-z0-9._~-]+)+$, consists of digits only, and consists of 7 to 64 hexadecimal digits, which keeps it safe for being passed quoted to the git commands. If it is not valid or no form matches, expand the following:

        Determine the remotes by running the command git -C "<repo-root/>" remote -v and set to the first remote whose fetch URL denotes the same host and repository path as (ignoring the scheme, the user, and a trailing .git), so its access credentials are used, or to otherwise.

Read the full file on GitHub · 461 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +1 lines 2ca968f8e76e
  2. 13d ago Changed 50b9c0a995c1
  3. 22d ago First seen · 460 lines · 135 tokens per session scan C 113f451d013f

Subscribe to this mod's changes

ase-repo-import is a skill published in the GitHub repository rse/ase (78 stars, last pushed today), licensed Apache-2.0. It adds 135 tokens to every session and 5,019 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.

Related

ase-repo-import compared with skills from other repositories

ase-repo-import next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ase-repo-importrse/aseSkill78todayApache-2.0C135Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3ktodayApache-2.0A41Claude Code
moai-ref-git-workflowmodu-ai/moai-adkSkill1.3ktodayApache-2.0A58Claude Code
git-commit-helperalirezarezvani/claude-code-tresorSkill79020d agoMITA55Claude Code
verifymodu-ai/moai-adkSkill1.3ktodayApache-2.0A60Claude Code
moai-syncmodu-ai/moai-adkSkill1.3ktodayApache-2.0A16Claude Code
release-checkPromptPartner/agentsmithSkill1443d agoMITA43Claude Code