Agent skill

Use Local Venv

by baoxin1100 in baoxin1100/ok-kes

Prefer the repository-local Python virtual environment for coding-agent work.

No licenceAuto-check passedDevelopment

Install Use Local Venv

skills CLI
$ npx skills add baoxin1100/ok-kes --skill use-local-venv -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install baoxin1100/ok-kes use-local-venv --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/baoxin1100/ok-kes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/use-local-venv .claude/skills/use-local-venv && rm -rf skills-src

Use ~/.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/

Facts

Skill name
use-local-venv
GitHub stars
101
Token cost
~380 tokens
SKILL.md length
86 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Prefer the repository-local Python virtual environment for coding-agent work.

  • Running Python scripts
  • SKILL.md covers Overview, Rule, PowerShell and POSIX Shells
  • Calls python
  • Package installs

What it does

Use Local Venv is an agent skill from baoxin1100/ok-kes. Prefer the repository-local Python virtual environment for coding-agent work. Use when running Python scripts, tests, linters, formatters, package installs, dependency checks, or any Python command in a repo that may contain a .venv; fall back to global Python only when no local .venv interpreter exists.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Linting and formatting. It works with Python. The repository describes itself as: ok框架卡厄思梦境自动化工具,包含自动出击模式和自动卡厄思模式功能.

When your agent uses it

  • Running Python scripts
  • Package installs
  • Dependency checks
  • Any Python command in a repo that may contain a .venv

Example prompts

  • “/use-local-venv”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 82089f2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Use Local Venv loads about 380 tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~380

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 86 words (~380 tokens).

“Use the project .venv for Python commands so agent work uses the same dependencies as the repository instead of the global Python installation.”

— opening of SKILL.md by baoxin1100
name
use-local-venv

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/use-local-venv of baoxin1100/ok-kes.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 82089f2

Compare with similar skills

Use Local Venv 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.

Use Local Venv compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Use Local Venv this skillbaoxin1100/ok-kes101—~380Automated safety check: PassNone
Minimizing Ty Ecosystem Changesastral-sh/ruff50k—~4.6kAutomated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k—~2.2kAutomated safety check: PassMIT
Kedro Babysitkedro-org/kedro11k—~4kAutomated safety check: PassCustom licence
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Adding Ty Diagnosticsastral-sh/ruff50k—~556Automated safety check: PassMIT

Similar skills

  • Official

    A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…

    50k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Kedro Babysit

    kedro-org/kedro

    Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…

    11k GitHub stars~4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Adding Ty Diagnostics

    astral-sh/ruff

    Official

    A skill your agent uses when a user says "add a ty rule", "add a ty diagnostic", "write this new ty diagnostic", "change a ty error message", "review ty diagnostics", or asks to add, update, or…

    50k GitHub stars~556 tokensUpdated today
    DevelopmentAuto-check passed
  • Qt6 QML Code Reviewer

    x-tools-author/x-tools

    Runs a 47-rule deterministic QML linter, then six parallel deep-analysis passes over bindings, layout, loaders, delegates, states, and performance.

    1.1k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed

More from baoxin1100/ok-kes

  • Deploy

    baoxin1100/ok-kes

    Commit completed repository changes, create the next annotated version tag, and push the commit and tag to the publishing remote.

    101 GitHub stars~1.1k tokensUpdated 9 days ago
    Auto-check passed
  • Ok Script I18n

    baoxin1100/ok-kes

    Add, sync, repair, and compile gettext translations for ok-script Python task classes and task metadata.

    101 GitHub stars~903 tokensUpdated 9 days ago
    Auto-check passed
  • Ok Script Codegen

    baoxin1100/ok-kes

    Generate Python automation code for ok-script task run methods from user descriptions and optional screenshots.

    101 GitHub stars~2k tokensUpdated 9 days ago
    Auto-check passed
  • Ok Script Tasks

    baoxin1100/ok-kes

    Create and modify automation task classes for the ok-script Python library, including BaseTask one-time tasks, TriggerTask background tasks, task config UI metadata, registration in ok-script app…

    101 GitHub stars~1k tokensUpdated 9 days ago
    Auto-check passed

Works with

Categories

Questions about Use Local Venv

What does Use Local Venv do?

Prefer the repository-local Python virtual environment for coding-agent work. Use Local Venv is an agent skill from baoxin1100/ok-kes. Prefer the repository-local Python virtual environment for coding-agent work.

When should I use Use Local Venv?

Use Local Venv fits situations like: running Python scripts; package installs; dependency checks; any Python command in a repo that may contain a .venv.

How do I install Use Local Venv in Claude Code?

Run `npx skills add baoxin1100/ok-kes --skill use-local-venv -a claude-code`. Or copy the skill folder (.agents/skills/use-local-venv in baoxin1100/ok-kes) into .claude/skills/use-local-venv in your project. Claude Code loads it when a task matches its description.

How do I install Use Local Venv in Codex?

Run `npx skills add baoxin1100/ok-kes --skill use-local-venv -a codex`. Or copy the skill folder (.agents/skills/use-local-venv in baoxin1100/ok-kes) into .agents/skills/use-local-venv in your project. Codex loads it when a task matches its description.

Can I use Use Local Venv in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add baoxin1100/ok-kes --skill use-local-venv -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/use-local-venv, .gemini/skills/use-local-venv, .github/skills/use-local-venv and .opencode/skills/use-local-venv in your project.

What does Use Local Venv need to run?

Going by SKILL.md and its folder, Use Local Venv needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Use Local Venv access the network?

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.

Is Use Local Venv safe to install?

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.

What licence does Use Local Venv use?

No licence was found for Use Local Venv or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Use Local Venv use?

About 380 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Use Local Venv?

Skills that share tags, products or a category with Use Local Venv: Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), Summarise Ecosystem Results (astral-sh/ruff, 50k stars), Kedro Babysit (kedro-org/kedro, 11k stars) and Saleor Commit Workflow (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Use Local Venv?

baoxin1100 (a GitHub user) maintains it in baoxin1100/ok-kes, which has 101 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 1, 2026.

Source: baoxin1100/ok-kes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.