Forge Concept Commands

SkillAI & models

Forge gives your AI the ability to build the infrastructure your software runs on. Once added, it writes infrastructure as code, makes cloud provider and sizing decisions, and ships architecture that fits your current scale.

Use Forge Concept Commands in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Forge Concept Commands and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Forge Concept Commands skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

After adding Forge, ask your AI to provision infrastructure whenever you need cloud resources set up or a Terraform config written. Use the phrase "provision infrastructure" to bring it in.

Forge Concept CommandsStart free

What your AI can do with it

  • Write Terraform configurations
  • Provision cloud resources
  • Choose a cloud provider
  • Pick compute and database architecture
  • Size infrastructure to today's needs

What this skill tells your AI

The instructions your AI receives, as published by cluesmith/codev in .codex/skills/forge/SKILL.md and read by Ahel’s review.

Forge concept commands decouple codev from direct gh CLI calls. Each GitHub operation is routed through a configurable external command.

Concepts

ConceptEnv VarsDescription
issue-viewCODEV_ISSUE_IDFetch issue details (JSON)
pr-list—List open PRs (JSON array)
issue-list—List issues (JSON array)
issue-commentCODEV_ISSUE_ID, CODEV_COMMENT_BODYPost a comment on an issue
pr-existsCODEV_BRANCH_NAMECheck if a PR exists for a branch
recently-closedCODEV_SINCE_DATE (optional)List recently closed issues
recently-mergedCODEV_SINCE_DATE (optional)List recently merged PRs
user-identity—Get current user's handle (plain text)
team-activityCODEV_GRAPHQL_QUERYRun a batched GraphQL query
on-it-timestampsCODEV_ISSUE_NUMBERS, CODEV_GRAPHQL_QUERY, CODEV_REPO_OWNER, CODEV_REPO_NAMEGet "on it" comment timestamps
pr-createCODEV_PR_TITLE, CODEV_PR_BODY, CODEV_PR_BASE (optional), CODEV_PR_HEAD (optional), CODEV_PR_REPO (optional), CODEV_PR_DRAFT (optional)Open a PR; prints {"number", "url"}
pr-mergeCODEV_PR_NUMBERMerge a PR
pr-searchCODEV_SEARCH_QUERYSearch PRs (JSON array)
pr-viewCODEV_PR_NUMBER, CODEV_INCLUDE_COMMENTS (optional)View PR details (JSON or text)
pr-diffCODEV_PR_NUMBER, CODEV_DIFF_NAME_ONLY (optional)Get PR diff
auth-status—Check forge authentication status

Configuration

In .codev/config.json:

{
  "forge": {
    "provider": "gitlab",
    "issue-comment": "my-custom-script $CODEV_ISSUE_ID"
  }
}

Resolution order

  1. Manual concept override in forge section
  2. Provider preset (if provider is set)
  3. Default (GitHub via gh CLI)

Providers

Built-in presets: github (default), gitlab (via glab), gitea (via tea).

Note: Non-GitHub presets are best-effort. Output schemas may differ from GitHub's JSON contracts. Non-conforming JSON returns null — consumers handle this gracefully. Override individual concepts if a preset doesn't match your CLI version.

CODEV_REPO is overloaded. For repo-archive it is an input: the owner/repo to download. For the Gitea preset's read concepts (pr-view, pr-list, pr-exists, issue-view, recently-merged) it is an override — tea api needs an explicit owner/repo in the endpoint path, which those scripts otherwise derive from the origin remote. Set it per invocation, not in your environment: exported globally it retargets every Gitea read at that repo.

Disabling concepts

Set a concept to null to disable it:

{
  "forge": {
    "team-activity": null
  }
}

Validation

Run codev doctor to see forge concept status, provider, and validation results.

Code

  • Dispatcher: packages/codev/src/lib/forge.ts
  • Contracts: packages/codev/src/lib/forge-contracts.ts
  • Spec: codev/specs/589-non-github-repository-support.md

Signals

GitHub stars
288
Forks
46
Last commit
Sep 2026
Advanced
Item type
skill
Key
forge
Source
github.com/cluesmith/codev