What is pytest-scope?
pytest-scope is a Claude Code mod by t968rs that routes bare pytest through the project interpreter and requires a test file or node-id per pytest run. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | t968rs |
| Repository | t968rs/operator-straps |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #8,630 of 9,397 Claude Code mods; #3,595 in Interface |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 3 events |
| Sees | Bash calls, PowerShell calls |
| Draws on | nothing |
Is pytest-scope safe to install?
pytest-scope scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.env.get | reads env vars |
$.fs.stat | reads files |
$.process.run | runs processes |
$.session.cwd | |
$.state.get | |
$.state.set |
How do I install pytest-scope?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/t968rs/operator-straps claude plugin validate ./operator-straps/plugins/pytest-scope
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add t968rs/operator-straps && claude plugin install pytest-scope@operator-straps
Or ask Claude to set it up
Paste this into Claude Code and it installs pytest-scope for you:
Install the "pytest-scope" Claude Code mod from https://github.com/t968rs/operator-straps/tree/main/plugins/pytest-scope. Run claude plugin validate on it first and show me what it can access before you enable it.
More from t968rs/operator-straps
This repository has at least 9 Claude Code mods on MCPMods.
- agent-watcher: Logs every agent dispatch and forked skill with engine-measured usage rows; tracks pr-review / pr-team runs: Phase 5 ban (High risk)
- band-line: oStraps banner in a band above the prompt (git-status's git state, model, context window, and the working-refs line as a (Low risk)
- bubble-stamp: Stamps recorded pr-review decisions (RESOLVED, CLOSED_NO_ACTION, REFUTED) into the bubble memo, PR__Bubbles.md (Review before installing)
- git-status: Git snapshot, per-prompt GIT_STATE context and a fallback git status line that gives way to ccstatusline or band-line (Review before installing)
- lap-stamp: Times each main-conversation turn from the developer's prompt to its stop and stamps the clock time and lap under the re (High risk)
- parallel2-lanes: parallel2 lanes: a lane's Agent spawn starts with its brief inline, the plan's model and its worktree; a band lists each (Low risk)
- session-bookmark: Compaction bookmark: git state, last prompts, session notes and /compact instructions kept in session state and appended (High risk)
- todo-watch: The next TODO items and a live sync status line in a band above the prompt (kept until dismissed, or optionally one toas (Review before installing)