github
Read and edit GitHub repositories through the GitHub REST API using a bot's GITHUB_TOKEN.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Read and edit GitHub repositories through the GitHub REST API using a bot's GITHUB_TOKEN.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Coder/integrator skill for building integrations, automations, and deploying services. Covers tech stack decisions (Deno Deploy, GitHub, InstantDB, prompt2bot, Supergreen), referencing the dedicated WhatsApp skill for WhatsApp integrations, webhook patterns, and communication guidelines for non-technical users.
AI agent skill for interacting with Google Docs and Google Sheets.
AI agent skill for interacting with Google Drive.
Make.com integration guidance for prompt2bot agents — regional APIs, module versions, and scenario blueprint scanning.
Create, query, and manage calendar events and meeting availability across Calendly, Google Calendar, and Microsoft 365 Calendar (Outlook). Covers event creation, searching events, free/busy availability, and booking. Triggers: calendar, event, meeting, schedule, scheduling, availability, free busy, booking, appointment, reminder, timezone, create event, Google Calendar, Outlook, Microsoft 365, Calendly.
Deno Deploy guidance and VM-less safescript tools for prompt2bot agents — REST API v2 app/env-var/revision operations, CLI usage, CI deployment, and logging.
| name | github |
| description | Read and edit GitHub repositories through the GitHub REST API using a bot's GITHUB_TOKEN. |
Use this skill to read and edit GitHub repositories without creating a VM or cloning the repository.
Before you read, write, or patch ANY file in a repository — on your first action
against that repo, and again whenever you switch repos or branches — you MUST
call repoInstructions for that owner/repo/ref and follow what it returns.
repoInstructions fetches the project's agent instruction files in one call:
AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md,
.cursorrules, and .windsurfrules. These hold the repo's conventions,
runbooks, and "how we do X here" knowledge. Skipping this is the most common
cause of wrong or low-quality changes — do not guess what you could have read.
If it returns NO_INSTRUCTION_FILES_FOUND, proceed but infer conventions from
the codebase.
Pass the configured GitHub token secret as githubToken through
secretMapping. Usually this should be:
{ "githubToken": "GITHUB_TOKEN" }
The token must have access to the repository and must allow requests to
api.github.com.
repoInstructions: fetches the repo's agent instruction files (AGENTS.md,
CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, .cursorrules,
.windsurfrules) in one call. Call this FIRST for any repo, before reading or
editing files (see "Read the repo's instructions FIRST" above).readGithubFile: reads a file from a branch or ref.writeGithubFile: commits a full file replacement using the Git Data API.patchGithubFile: reads a file, performs an exact string replacement, and
commits the result using the Git Data API.createGithubIssue: creates a GitHub issue.addGithubIssueComment: adds a comment to an issue or pull request.createGithubPullRequest: creates a pull request.createGithubRepository: creates and automatically initializes a new repository (with a default main branch and README.md).patchTextForTest: pure helper used for testing patch semantics.Prefer patchGithubFile for small changes. It follows OpenCode-style safe
editing semantics:
searchText must exactly match existing file content.replaceAll is false, searchText must occur exactly once.searchText occurs zero times, the tool returns SEARCH_TEXT_NOT_FOUND.searchText occurs multiple times and replaceAll is false, the tool
returns SEARCH_TEXT_NOT_UNIQUE.replaceAll to true only when every occurrence should change.Use writeGithubFile only when creating or replacing a whole file is clearer
than a precise patch.
Use createGithubIssue, addGithubIssueComment, and createGithubPullRequest
for project-management tasks instead of shelling out to curl. This avoids VM
state issues and command-length limits for long issue/comment bodies.
Use createGithubRepository to create a new repository under the specified owner. This automatically initializes the repository with a default main branch and a README.md file to prevent subsequent commit errors.
Pass isPrivate as true (default) to create a private repository, or false for a public repository.
<repo-name> at https://github.com/new. Do NOT ask the user to check "Add a README file" — you can easily push files to a completely empty repository yourself.DENO_DEPLOY_TOKEN, INSTANTDB_APP_ID, INSTANTDB_ADMIN_TOKEN, or PROMPT2BOT_SECRET), you MUST configure them programmatically using the gh secret set CLI on the VM (utilizing the stored GITHUB_TOKEN environment variable). You are strictly forbidden from directing users to the GitHub settings page or asking them to configure secrets manually. Only ask them for the raw API tokens in the chat, and then write those secrets to their repository programmatically yourself!Pass issueNumber as a string, for example "11".