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.
npx skills add keugenek/shark --skill shark-execgit clone --depth 1 https://github.com/keugenek/sharkWrote 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.
[](https://agentmods.dev/skills/keugenek/shark/shark-exec)<a href="https://agentmods.dev/skills/keugenek/shark/shark-exec"><img src="https://agentmods.dev/badge/skills/keugenek/shark/shark-exec.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00004 | $0.03109 |
| Opus 5 | $0.00002 | $0.01554 |
| Sonnet 5 | $0.00001 | $0.00622 |
| Haiku 4.5 | $0.00000 | $0.00311 |
Grade A, and why
shark-exec scanned grade A with 0 findings 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 7d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
shark-exec
Never block the main turn. This skill wraps any slow shell command in a background process + poller, so the agent always replies to the user within 30 seconds — even if the command takes 10 minutes.
When to Use
Use this skill whenever you're about to call a shell command and the command is expected to take more than ~5 seconds. Examples:
gh run watch <run-id>— waiting for CInpm run build/pytest/cargo builddocker build,docker pull- Long-running remote commands
- Any command with a long blocking wait
- Any command that polls, watches, or tails output
Do NOT use for:
- Quick reads (
cat,ls,git status) — inline is fine - Commands you're confident finish in <5s
Protocol (Step by Step)
Step 1 — Send Immediate Acknowledgment
Before spawning the background job, send the user a reply:
⏳ [label] running in background (max Xs)...
Example: ⏳ CI: run #12345 — watching in background (max 120s)...
This must be the first thing you do — before exec, before writing state. Silence = failure.
Step 2 — Launch Background Process
Launch the command in the background using your agent's background execution primitive (see Runtime Adapters below).
You'll get back a handle to identify the process (session ID, PID, etc.).
# Generic pseudocode
handle = background_exec("gh run watch 12345")
Step 3 — Write State
Read <workspace>/skills/shark/shark-exec/state/pending.json. If it doesn't exist, start with {"jobs": []}.
Append your new job:
{
"jobs": [
{
"sessionId": "sess-abc-123",
"label": "CI: run #12345",
"command": "gh run watch 12345",
"startedAt": 1710000000000,
"maxSeconds": 120,
"cronJobId": null
}
]
}
Critical: startedAt must be the actual current timestamp in milliseconds (Date.now()), not a hardcoded placeholder.
Set cronJobId: null for now — you'll fill it in step 4.
What ships with it
3 files 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.
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.
- 7d ago First seen · 347 lines · 4 tokens per session scan A a3f1de82ad74
shark-exec is a skill published in the GitHub repository keugenek/shark (11 stars, last pushed 2d ago), licensed Apache-2.0. It adds 4 tokens to every session and 3,109 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
background-tasks
Async task execution authority — Celery workers and beat scheduler, APScheduler in-process cron, bare Redis LPUSH/BRPOP queues, dead-letter queues, idempotency patterns, task monitoring, and Docker Compose worker definitions for Python pipelines.
vertx-expert
Expert knowledge for Eclipse Vert.x, the reactive engine behind Quarkus. Use for deep reactive programming, Event Loop, and non-blocking I/O questions.
resolve-conflicts
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling…
github-pr-description
Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it…
debug-cli
Use when users need to debug, modify, or extend the code-forge application's CLI commands, argument parsing, or CLI behavior. This includes adding new commands, fixing CLI bugs, updating command options, or troubleshooting CLI-related issues.
write-release-notes
Generate engaging, high-energy release notes for a given version tag. Fetches the release from GitHub, retrieves every linked PR's title and description, then synthesizes all changes into a polished, user-facing release note with an enthusiastic tone. Use when the user asks to write, generate, or create release notes…