Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Cnb Skill

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

cnb-skill is a skill that wraps the CNB code-hosting platform's REST API as a command-line tool for issues, pull requests and repository operations.

About

cnb-skill is a generated command-line wrapper over the CNB code-hosting platform's REST API. It exposes modules for issues, pull requests, git branch-protection settings, user activities, assets and badges. A developer uses it to let an agent read and act on repositories, issues and PRs hosted on CNB (cnb.cool) without writing HTTP calls by hand.

  • CLI wrapper over the CNB (cnb.cool / api.cnb-dev.woa.com) code-hosting REST API
  • Modules for issues, pull requests, branch protection, activities, assets and badges
  • Generated from the CNB swagger.json spec, invoked as `cnb <module> <tool>` with --path/--query/--data JSON args

Cnb Skill by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #443 of 735 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

cnb-skill capabilities & compatibility

Capabilities
pull request review · issue triage · git operations
Works with
github · gitlab
Use cases
code review · devops
Runs
Runs locally
From the docs

What cnb-skill says it does

target: 'https://api.cnb-dev.woa.com/swagger.json',
SKILL.md
<module> (必须) 模块名称 (例如: issues),可直接配合 --help 查看该模块帮助
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill cnb-skill

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Let an agent query and act on CNB-hosted issues, pull requests, branch-protection settings and activities from the command line.

When should I use this skill?

an agent needs to read or manage issues, pull requests or branch-protection settings on the CNB code-hosting platform

By the numbers

  • 100 bundled script files

Files

scripts/core/config/cag.config.jsJavaScriptGitHub ↗
module.exports = {
  target: 'https://api.cnb-dev.woa.com/swagger.json',
  skillsOutputDir: `./skills`,
  // skillsDev: true,
  skillConfig: {
    fetchConfig: {
      responseConverter: {
        'get@/{repo}/-/issues/{number}': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            data.body = handler(data.body, fetchOriginParams.path.repo);
            return data
          }
        },
        'get@/{repo}/-/issues/{number}/comments/{comment_id}': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            data.body = handler(data.body, fetchOriginParams.path.repo);
            return data
          }
        },
        'get@/{repo}/-/issues/{number}/comments': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            for (let i = 0; i < data.length; i++) {
              data[i].body = handler(data[i].body, fetchOriginParams.path.repo);
            }
            return data
          }
        },
        'get@/{repo}/-/pulls/{number}': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            data.body = handler(data.body, fetchOriginParams.path.repo);
            return data
          }
        },
        'get@/{repo}/-/pulls/{number}/comments/{comment_id}': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            data.body = handler(data.body, fetchOriginParams.path.repo);
            return data
          }
        },
        'get@/{repo}/-/pulls/{number}/comments': {
          converter: 'convert-link',
          handler: (handler, fetchOriginParams, data) => {
            for (let i = 0; i < data.length; i++) {
              data[i].body = handler(data[i].body, fetchOriginParams.path.repo);
            }
            return data
          }
        },
      }
    }
  }
}

Related skills

Git & Pull Requestsgitintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.