upload-photo skillA
upload-photo is agent-read markdown (skill) from different-ai/openwork: Attach a screenshot/image/video to a PR or issue, or embed an image in a GitHub comment..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Upload Photo
Use GitHub CLI 2.99 or newer. Check and upgrade it if needed:
```sh
gh --version
brew upgrade gh
```
Attach a file to a new comment, putting alt text after `#`:
```sh
gh pr comment <n> --attach './shot.png#Alt text'
gh issue comment <n> --attach './shot.png#Alt text'
```
`gh pr create`, `gh pr edit`, `gh issue create`, and `gh issue edit` also accept repeatable `--attach` flags, with at most 50 files.
To place an image in the body, reference the same path:
```sh
printf '\n' | gh pr comment <n> --body-file - --attach './shot.png#Alt text'
```
GitHub rewrites that Markdown reference to the uploaded asset. Unreferenced attachments are appended to the comment.
There is no standalone “get a URL” command. The asset URL lives in the posted comment; read it back with `gh api repos/{owner}/{repo}/issues/comments/<id> --jq .body`.Read the whole file at its exact version.
How to install
mdr add different-ai/openwork/upload-photo@git:20260904.25c1014mdr add different-ai/openwork/upload-photo@sha256:cbde259ba515567fPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_zw4fpqzpvomgg25b)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260904.25c1014 latest | 2026-09-04 | 25c1014 | 1,014 B | A | view · diff |
| git:20260704.5cd7a86 | 2026-07-04 | 5cd7a86 | 1,492 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1014 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
different-ai/openwork · 23,724 stars · license NOASSERTION · pushed 2026-09-25 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_zw4fpqzpvomgg25b GET https://markdownregistry.com/api/v1/resolve?ref=different-ai/openwork/upload-photo GET https://markdownregistry.com/api/v1/blob/cbde259ba515567fbcd490d99855821277ea6839a5954ba48704f0bd3836b816
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from different-ai/openwork
Every file in different-ai/openwork