Skip to content
Agentmart
Submit a tool

forgejo-cli

Use fj and fgj for everyday Forgejo issues, pull requests, Actions, tags, releases, and wiki workflows.

Skill by nb-99

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying forgejo-cli?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nb-99-forgejo-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use fj and fgj for everyday Forgejo issues, pull requests, Actions, tags, releases, and wiki workflows.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/forgejo-cli

What's inside

Skill name
forgejo-cli
Description
Use fj and fgj for everyday Forgejo issues, pull requests, Actions, tags, releases, and wiki workflows.
License
MIT
Instructions
252 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Forgejo CLI tools

## Authorization

Read freely. An explicit user request that names the Forgejo target and a
bounded write action authorizes that action. Otherwise, show the exact mutation
and ask for confirmation before running it.

Always confirm immediately before destructive, irreversible,
privilege-changing, or materially broader work. This includes merging or
closing pull requests, deleting content or tags, publishing or deleting
releases, cancelling runs, changing repository access, settings, variables, or
secrets, rewriting history, and any action whose effects exceed the request.

## Common commands

Prefer `fj --style minimal` for normal operations and `fgj` for structured output.
Replace `HOST/OWNER/REPO`, `PR`, `ISSUE`, and `QUERY` with your target values.
Commands without explicit targeting infer the repository from the checkout:

```sh
fj --style minimal pr view PR body
fj --style minimal pr view PR diff
fj --style minimal pr status PR
fj --style minimal pr status PR --wait
fj --style minimal issue view --remote origin ISSUE
fj --style minimal issue search --repo HOST/OWNER/REPO --state all 'QUERY'
```

Run independent reads in parallel. When the harness supports background commands
with completion notifications, run `status --wait` in the background and await
completion without polling. Distinguish pending policy gates from CI checks and
merge conflicts. A pending policy gate does not by itself indicate broken CI.

Search existing issues before creating one. With explicit authorization for the
target and issue creation, use an absolute body-file path, then read the created
issue back once:

```sh
fj --style minimal issue create --repo HOST/OWNER/REPO 'Issue title' --body-file /absolute/path/issue.md
```

Only after successful required checks, verification of mergeability, and
immediate confirmation of the merge, use the rebase form:

```sh
fj --style minimal pr merge PR --method rebase
```

## Tool choice and targeting

Both tools infer the repository from the checkout where possible. Use
`--repo HOST/OWNER/REPO` or `--remote NAME` with `fj`; with `fgj`, prefer
`--hostname HOST -R OWNER/REPO` to make the server explicit.

| Task                                          | Use                   | Command family                       |
| --------------------------------------------- | --------------------- | ------------------------------------ |
| Issues and basic PRs                          | `fj`                  | `fj issue`, `fj pr`                  |
| Wiki pages and wiki Git clone                 | `fj`                  | `fj wiki`                            |
| Tags                                          | `fj`                  | `fj tag`                             |
| Releases and release assets                   | `fj`                  | `fj release`                         |
| Actions run list and dispatch                 | Either                | `fj actions`, `fgj actions`          |
| Actions jobs, logs, watch, rerun, cancel        | `fgj`                 | `fgj actions run`                    |
| Machine-readable list/view output             | `fgj`                 | `--json`                             |
| Users, organizations, teams, repository units | `fj` for dedicated UX | `fj user`, `fj org`, `fj repo units` |
| AGit pull requests                            | `fj`                  | `fj pr create --agit`                |

Use command help when unsure about a flag. Before an API fallback, check
`fgj --help` once for an `api` subcommand. If the installed help lacks it, use a
supported dedicated command or another authenticated read-only path if needed.
Minimal text is not a stable machine-readable format; inspect the JSON shape
before selecting fields.

## Issues

Use `fj` for issue workflows:

```sh
fj issue search --repo HOST/OWNER/REPO "QUERY"
fj issue search --repo HOST/OWNER/REPO --state all
fj issue search --repo HOST/OWNER/REPO --labels bug --assignee USERNAME
fj issue view --remote origin ISSUE
fj issue view --remote origin ISSUE comments
fj issue create --remote origin "Issue title" --body "Issue description"
fj issue comment --remote origin ISSUE "Additional context"
fj issue assign --remote origin ISSUE USERNAME
fj issue edit --remote origin ISSUE title "Updated title"
fj issue edit --remote origin ISSUE body "Updated body"
fj issue edit --remote origin ISSUE labels --add documentation
fj issue close --remote origin ISSUE --with-msg "Closing because ..."
```

Omit `--body` or the positional body to edit content in the configured editor. Use `--body-file FILE` for longer text.

For JSON, use `fgj`. Issue views wrap the object in `issue`, rather than returning
bare issue fields. Verify the shape for your installed version:

```sh
fgj issue list --hostname HOST -R OWNER/REPO --json
fgj issue view ISSUE --hostname HOST -R OWNER/REPO --json | jq '.issue | {title, updated_at, body}'
```

## Pull requests

Use `fj` for normal Forgejo pull request workflows:

```sh
fj pr search --repo HOST/OWNER/REPO
fj pr search --repo HOST/OWNER/REPO --state all "QUERY"
fj pr view PR
fj pr view PR files
fj pr view PR commits
fj pr create --repo HOST/OWNER/REPO \
  --base main --head feature/example \
  "Describe the change" --body-file pr-body.md
fj pr comment PR "Review comment"
fj pr checkout PR --branch-name review-PR
fj pr close PR --with-msg "Closing because ..."
```

From nb-99/skillektion, MIT.

More from nb-99/skillektion

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Oct 4, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nb-99

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get forgejo-cli running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying forgejo-cli?

CallGet help
Cite this page

forgejo-cli skill. Agent Mart. https://agentmart.dev/skills/nb-99-forgejo-cli (last updated 2026-10-24)