Borrowing it
Nothing to install: this file belongs to MartinKuhne/devstack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MartinKuhne/devstack/main/.opencode/skills/gitea-pr/SKILL.mdgit clone --depth 1 https://github.com/MartinKuhne/devstackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/martinkuhne/devstack/gitea-pr)<a href="https://agentmods.dev/skills/martinkuhne/devstack/gitea-pr"><img src="https://agentmods.dev/badge/skills/martinkuhne/devstack/gitea-pr/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/martinkuhne/devstack/gitea-pr"><img src="https://agentmods.dev/badge/skills/martinkuhne/devstack/gitea-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.01046 |
| Opus 5.5 | $0.00009 | $0.00418 |
| Sonnet 5.5 | $0.00004 | $0.00209 |
| Haiku 4.5 | $0.00002 | $0.00105 |
Grade A, and why
gitea-pr scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls" \ How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
I provide guidance for creating and managing pull requests on Gitea, including:
- Creating pull requests with proper descriptions
- Updating PR status
- Adding reviewers
- Managing PR labels
- Handling PR reviews
Gitea API Reference
Base URL: {GITEA_URL}/api/v1
Authentication: Authorization: token {GITEA_API_TOKEN}
Create Pull Request
curl -X POST "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls" \
-H "Authorization: token {GITEA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"title": "feat(auth): add OAuth2 support",
"body": "## Summary\n\nThis PR adds OAuth2 authentication.\n\n## Changes\n- Add Google OAuth2 provider\n- Implement token refresh",
"head": "feature/123-oauth2",
"base": "main"
}'
Get Pull Request
curl "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls/{pr_number}" \
-H "Authorization: token {GITEA_API_TOKEN}"
List Pull Requests
curl "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls?state=open&limit=50" \
-H "Authorization: token {GITEA_API_TOKEN}"
Update Pull Request
curl -X PATCH "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls/{pr_number}" \
-H "Authorization: token {GITEA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated title",
"body": "Updated description"
}'
Add Reviewers
curl -X POST "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls/{pr_number}/requested_reviewers" \
-H "Authorization: token {GITEA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"reviewers": ["username1", "username2"]}'
Merge Pull Request
curl -X POST "{GITEA_URL}/api/v1/repos/{owner}/{repo}/pulls/{pr_number}/merge" \
-H "Authorization: token {GITEA_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"merge_when_all_successful": true}'
Pull Request Template
Use this structure for PR descriptions:
## Summary
Brief description of changes (1-3 sentences).
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Changes
- Change 1
- Change 2
- Change 3
## Testing
Describe testing performed.
## Screenshots (if applicable)
## Related Issues
Closes #123
Fixes #456
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Tests added/updated
- [ ] Documentation updated
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 166 lines · 22 tokens per session scan A d802cf55c7f9
gitea-pr is a skill published in the GitHub repository MartinKuhne/devstack (2 stars, last pushed 5d ago), licensed MIT. It adds 22 tokens to every session and 1,046 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
gitea-pr compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gitea-prMartinKuhne/devstack | Skill | 2 | 5d ago | MIT | A | 22 | OpenCode |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | yesterday | MIT | A | 47 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 83k | 6d ago | MIT | A | 46 | Claude Code |
| otto-pr-review-loopomnigent-ai/omnigent | Skill | 11k | yesterday | Apache-2.0 | A | 17 | Claude Code, Codex |
| engram-branch-prGentleman-Programming/engram | Skill | 7.8k | yesterday | MIT | A | 37 | Claude Code, Codex |
| github-contributordaymade/claude-code-skills | Skill | 1.5k | yesterday | MIT | A | 105 | Claude Code, Codex |
| revdiffumputun/revdiff | Skill | 945 | yesterday | MIT | A | 250 | Claude Code |