github-readonly-live
Skill142 starsChanged 3 months agoApache-2.0View on GitHub
Read the configured live GitHub repository through authenticated, policy-scoped GitHub REST GET requests.
- Reads credentials
In this repository62 other files it gives its agents.
- examples/recipes/partners/hpe/retail-assistant/docker-compose/scripts/identity/AGENTS.mdAGENTS.md
- examples/recipes/partners/hpe/retail-assistant/helm/files/identity/AGENTS.mdAGENTS.md
- examples/recipes/partners/tavily/watchtower/prompts/AGENTS.mdAGENTS.md
- nemoclaw-community-contributor-examplesSkill
- nemoclaw-community-maintainer-policiesSkill
- coach-nemoclaw-hermesSkill
- coordinate-nemoclaw-blenderSkill
- blender-host-sandbox-boundarySkill
- blender-python-api-verificationSkill
- ovphysx-host-runtime-boundarySkill
- axe-a11ySkill
- deep-researchSkill
- cross-source-gap-analysisSkill
- nemoclaw-autohealSkill
- nemoclaw-nvteamSkill
- outlook-email-searchSkill
- slack-channel-finderSkill
- slack-channel-summarizerSkill
- source-etl-querySkill
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
- module-7Skill
- setup-workshop-nemoclaw-operatorSkill
- setup-workshop-nemoclawSkill
- workshopSkill
- cross-source-gap-analysisSkill
- github-readonly-liveSkill
- gitlab-readonly-liveSkill
- nemoclaw-autohealSkill
- nemoclaw-nvteamSkill
- outlook-email-searchSkill
- public-web-searchSkill
- slack-channel-finderSkill
- slack-channel-summarizerSkill
- source-etl-querySkill
- kubernetes-sreSkill
- openshift-llm-deploySkill
- inbound-judgingSkill
- memory-consolidationSkill
- memory-repairSkill
- memory-writingSkill
- obligation-reviewSkill
- preference-updateSkill
- nv-tech-assistantSkill
- payment-ops-playbookSkill
- payment-screeningSkill
- rail-boundary-testSkill
- release-packetSkill
- pr-reviewSkill
- pr-test-case-assistantSkill
- vss-videoSkill
- nemoclaw-hermes-swarmSkill
- blackwall-payment-gateSkill
- retail-apiSkill
- retail-apiSkill
- watchtowerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 7 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Use this skill for current live GitHub REST data from the single repository allowed by the sandbox policy.
- Distinctive: line 14
Read current issues, issue comments, pull requests, pull request files, reviews, commits, branches, labels, milestones, README, or …
- Distinctive: line 17
Check live state when the source ETL mirror may be stale or empty.
- Very specific: line 19
Do not use this skill for GitHub discussions or NVIDIA forums.
- Distinctive: line 26
Treat it as a secret placeholder: do not print it, modify it, or copy it into responses.
- Very specific: line 28
Do not run env, printenv, echo, or similar commands against GITHUB_TOKEN.
- Very specific: line 30
Do not inspect .env files, shell environments, proxy settings, or token variables to troubleshoot GitHub.
- Very specific: line 33
Only repo-scoped GET requests to api.github.com are allowed.
- Very specific: line 34
Do not use gh, git, github.com, raw.githubusercontent.com, codeload.github.com, GraphQL, or GitHub search endpoints.
- Distinctive: line 36
If a request returns an OpenShell policy 403, report the policy scope instead of trying another GitHub host, another binary, or a …
- Distinctive: line 38
If explicitly asked to validate that a write is blocked, do not inspect the token variable.
- Very specific: line 58
Always run the bundled helper script via the terminal tool.
- Very specific: line 61
Do not invoke github-readonly-live as a shell command.
- Very specific: line 64
Do not search for GitHub binaries with which, command -v, ls /usr/bin, or similar commands.
- Very specific: line 86
Use repo-relative REST routes only: ., issues, issues/<number>, issues/<number>/comments, pulls, pulls/<number>, pulls/<number>/files, …
- Very specific: line 89
Put query strings in --param KEY=VALUE, not in the route.
- Very specific: line 90
Use --paginate --count for exact counts.
- Very specific: line 92
Use --fields to keep output small instead of piping to python -c, jq, or custom scripts.
- Very specific: line 94
Use --exclude-pulls on the issues route when the user asks for issues rather than PRs, because GitHub's issues endpoint includes pull …
- Distinctive: line 110
Do not merge their results without naming which source each fact came from.
- Very specific: line 111
If the helper is rate-limited, report that GitHub auth was absent or exhausted.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
github-readonly-live
Use this skill for current live GitHub REST data from the single repository allowed by the sandbox policy.
When to use
- Inspect the currently allowed live GitHub repository.
- Read current issues, issue comments, pull requests, pull request files, reviews, commits, branches, labels, milestones, README, or repository contents.
- Check live state when the source ETL mirror may be stale or empty.
Do not use this skill for GitHub discussions or NVIDIA forums. Use
source-etl-query for those mirrored sources.
Access model
- The allowed repository is
$GITHUB_READONLY_REPO. - Requests use the OpenShell GitHub provider placeholder from
GITHUB_TOKEN. Treat it as a secret placeholder: do not print it, modify it, or copy it into responses. - Do not run
env,printenv,echo, or similar commands againstGITHUB_TOKEN. The helper loads the placeholder itself. - Do not inspect
.envfiles, shell environments, proxy settings, or token variables to troubleshoot GitHub. If the helper cannot authenticate or reach GitHub, it will report the error itself. - Only repo-scoped
GETrequests toapi.github.comare allowed. - Do not use
gh,git,github.com,raw.githubusercontent.com,codeload.github.com, GraphQL, or GitHub search endpoints. - If a request returns an OpenShell policy 403, report the policy scope instead of trying another GitHub host, another binary, or a write-like method.
- If explicitly asked to validate that a write is blocked, do not inspect the token variable. Use direct shell expansion in the Authorization header and report only the policy error.
Write-block validation pattern:
auth="${GITHUB_TOKEN:-}"
curl -sS -o /tmp/github-write-denied.json -w 'HTTP Status: %{http_code}\n' \
-X POST \
-H "Authorization: Bearer ${auth}" \
-H 'Accept: application/vnd.github+json' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"https://api.github.com/repos/${GITHUB_READONLY_REPO:-NVIDIA/OpenShell}/issues/<number>/comments" \
-d '{"body":"policy-validation-test"}'
cat /tmp/github-write-denied.jsonProcedure
Always run the bundled helper script via the terminal tool. It constructs only
repo-scoped GitHub REST GET requests. Prefer the generic get command and map
the user's question to a repo-relative REST route plus query params.
Do not invoke github-readonly-live as a shell command; it is the skill name,
not an executable. Do not call a tool named github-readonly-live; use
skill_view only if you need to read this instruction file.
Do not search for GitHub binaries with which, command -v, ls /usr/bin,
or similar commands. The canonical helper path below is the only supported live
GitHub access path.
On transient helper failures such as DNS resolution errors, connection resets,
or timeouts, retry the exact same helper command once. If the retry fails, give
the user the helper error and stop. Do not diagnose by inspecting token env vars,
.env files, proxy env vars, DNS tools, curl, gh, git, custom Python
requests, or alternate GitHub hosts.
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py rate-limit
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get . --fields full_name,description,open_issues_count
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get issues --param state=open --limit 20 --exclude-pulls --fields number,title,state,html_url
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get issues/<number>/comments --paginate --fields user.login,created_at,body
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get pulls --param state=open --paginate --count
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get pulls/<number>/files --paginate --fields filename,status,changes
/usr/bin/python3 /sandbox/.hermes-data/skills/github-readonly-live/scripts/github_readonly.py get contents/<path>Generic route rules:
- Use repo-relative REST routes only:
.,issues,issues/<number>,issues/<number>/comments,pulls,pulls/<number>,pulls/<number>/files,commits,branches,contents/<path>, etc. - Put query strings in
--param KEY=VALUE, not in the route. - Use
--paginate --countfor exact counts. Use--limitonly when the user asks for a sample or "latest N" items. - Use
--fieldsto keep output small instead of piping topython -c,jq, or custom scripts. - Use
--exclude-pullson theissuesroute when the user asks for issues rather than PRs, because GitHub's issues endpoint includes pull requests.
Compatibility aliases such as issues, issue-counts, pulls,
pull-counts, and contents are available, but the generic get command is
the default pattern for new GitHub questions.
Pitfalls
- For "how many issues" questions, use generic count:
get issues --param state=all --paginate --count --exclude-pulls. Do not use GitHub search endpoints; they are outside policy by design. - For "how many PRs" or "how many pull requests" questions, use generic count:
get pulls --param state=open --paginate --countor the requested state. Do not estimate from a single page. - The live GitHub scope and the source ETL mirror scope can be different repos. Do not merge their results without naming which source each fact came from.
- If the helper is rate-limited, report that GitHub auth was absent or
exhausted; use
source-etl-queryonly when the user's task can tolerate mirrored data. - The helper filters pull requests out of the
issuescommand. Usepullsorpull-countswhen the user specifically asks for PRs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

