These examples show the intended runseal @tool github ... usage patterns.
Implementation is pure GitHub HTTP API. The public shape does not depend on the
gh CLI.
Priority:
--token--token-file--token-env- default
GITHUB_TOKEN
For repo-owned automation, prefer injecting a dedicated token through the
profile and passing it explicitly with --token-env <name>. Plain
GITHUB_TOKEN remains the default fallback for small local calls.
runseal @tool github issue comment create \
--repo PerishCode/runseal \
--number 49 \
--body-file body.mdDefault body limit:
comment createdefaults--body-max=100--body-max=0disables the limit- overflow fails fast; it does not truncate
Example with unlimited body:
runseal @tool github issue comment create \
--repo PerishCode/runseal \
--number 49 \
--body-file body.md \
--body-max 0runseal @tool github issue create \
--repo PerishCode/runseal \
--title "Document Deno wrapper policy" \
--body-file body.mdrunseal @tool github issue body update \
--repo PerishCode/runseal \
--number 49 \
--body-file body.mdWhen writing from one controlled repo into another controlled repo, use
--prefix-enable=true so the request origin is recorded in the body.
runseal @tool github issue comment create \
--repo PerishCode/runseal \
--number 49 \
--body-file body.md \
--body-max 0 \
--prefix-enable=trueThe prefix is only applied when the repo-pair rule matches. It is not a generic text mutation flag.
For non-trivial text, always write the body to a file first and pass
--body-file.
Preferred:
runseal @tool github issue comment create \
--repo PerishCode/runseal \
--number 49 \
--body-file body.mdOnly use inline --body for a very short single-line payload.