/selamy-skills:public-repo-ci-isolationfrom selamy-skills
Use when configuring CI for a public or fork-accepting repository, or choosing runners for untrusted pull requests. Untrusted fork code must never run on a trusted self-hosted runner with access to secrets or internal network.
Ships in selamy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Never run a public repository's CI on a trusted, persistent self-hosted runner.
A pull request from a fork can change the workflow or the code it runs. On a self-hosted runner that PR executes attacker-controlled code on your own infrastructure, with whatever that runner can reach: secrets, cloud credentials, the internal network, the host filesystem, and the runner's registration token. This is the classic self-hosted-runner-on-public-repo vulnerability.
There is no cost argument against isolating: public repositories get free hosted CI minutes, so trusted self-hosted runners buy you nothing here.
runs-on for a workflow that runs on pull_request.pull_request_target or otherwise runs with secrets present.pull_request workflows at
hosted runners. Free minutes, fresh VM per job, no access to your network.pull_request_target and secret exposurepull_request_target runs in the context of the base repository, so secrets are
available. If you also check out the PR head and execute it, you have handed
attacker code your secrets.
pull_request_target.pull_request_target only for trusted, read-only metadata work (labeling,
triage) that does not execute the PR's contents.pull_request workflow at a persistent self-hosted
runner that holds or can reach secrets.pull_request_target plus a checkout of the PR head plus a build/test/run step.For every public or fork-accepting repo: untrusted-PR jobs land on hosted or ephemeral isolated runners, no trusted self-hosted runner can pick them up, unapproved untrusted PRs are visibly rejected or gated rather than silently run, and no workflow runs fork code with secrets in scope. Make these runner and approval settings declarative, not a one-off live edit (see [[iac-not-ad-hoc]]).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selamy-labs/agent-skills --plugin selamy-skills111 skills in this plugin
/adaptive-estimationUse when tracking a slowly-varying latent quantity from noisy measurements with quantifiable uncertainty — a drifting metric, capacity, latency trend, or confidence. Prefer a Kalman-style adaptive estimator over fixed moving averages or static thresholds./adaptive-loop-budgetingUse when an autonomous loop needs explicit limits on attempts, time, cost, tool calls, verification depth, or risk, and a clear stop, continue, yield, or escalate decision./adopt-and-deleteUse when adopting a shared module, library, chart, or service, or doing any consolidation, migration, or refactor that supersedes existing code. The change that adds the replacement must REMOVE what it replaced, in the same atomic change.Other plugins' skills for the same job