Zum Inhalt springen
Kitbay
Skill

upload-github-attachment

MITAktualisiert am 13. Nov. 202651.383GitHub-SterneEnthält Skripte

A skill in the AIRI repository that sends an image or other file from the user's machine to GitHub's user-attachments storage, so it can be embedded in an issue, pull request, discussion or comment without committing it to a repository.

Was der Skill vermittelt

A skill in the AIRI repository that sends an image or other file from the user's machine to GitHub's user-attachments storage, so it can be embedded in an issue, pull request, discussion or comment without committing it to a repository. A bundled shell script uses the GitHub CLI's login token, or a GH_TOKEN or GITHUB_TOKEN variable, sends the file to an upload endpoint that the skill states GitHub has not documented, and prints only the resulting assets URL for embedding as Markdown. Tokens must never be printed or stored. Because the endpoint is undocumented it may change; if an upload is rejected, the agent must not fall back to committing the files.

Funktionen

  • Upload an image or file as a GitHub attachment
  • Return a URL to embed in issues or pull requests
  • Reuse the GitHub CLI's login token