Preface¶
When managing repositories, tracking Issues and Merge Requests on CNB (Cloud Native Build), common practices involve checking items one by one in the console or manually writing HTTP calls in scripts while maintaining Tokens and Base URLs. If you want to pull project and collaboration data using natural language in Agent environments like Cursor, you need a layer of encapsulation that hardcodes CNB Open API capabilities into a Skill. Below is an introduction to the positioning, capabilities, and configuration points of the community Skill “Self Dev Cnb Openapi Skills”.
What is This¶
Self Dev Cnb Openapi Skills is an Agent Skill for interacting with the CNB Open API, designed for code management and development collaboration scenarios: querying projects, code repositories, Issues, Merge Requests, and other development-related data.
- Coordinates:
@user_f12a44b7/self-dev-cnb-openapi-skills - Version: 1.0.0
- Source: SkillHub Community (
community), Publisheruser_f12a44b7 - Category:
dev-programming - Tags:
requires_api_key=true(requires API key-type credentials)
Official Pages:
- SkillHub: https://www.skillhub.cn/skills/user_f12a44b7/self-dev-cnb-openapi-skills
- API Metadata: https://api.skillhub.cn/user_f12a44b7/self-dev-cnb-openapi-skills
Core Features¶
According to the SkillHub description, once enabled, the Agent can perform query-related operations related to R&D collaboration via the CNB Open API, covering:
- Projects: Project-level information and structure queries.
- Code Repositories: Access to development data related to repositories.
- Issues: Queries for collaboration items like Issues.
- Merge Requests: Queries for workflow data like Merge Requests (MR).
- Other Development Data: Described as “other development-related data” in the description; the specific interface scope is subject to the CNB Open API documentation and instructions within the Skill.
The Skill does not replace the full operational capabilities of the CNB console; its value lies in handing the exposed Open API query paths to the Agent, reducing the need to switch back and forth between conversations and scripts.
Installation and Enablement¶
Current public documentation does not provide differentiated installation commands for Cursor, Codex CLI, or Claude Code. If installing this Skill via SkillHub, please refer to the page and the Skill import process of the client being used; after successful installation, the key is to configure the authentication and API address properly.
Environment Variables (explicitly required in the description):
# CNB 身份认证,必填
export CNB_TOKEN="你的 CNB Token"
# API 根地址,可选;未设置时使用默认值
export CNB_API_ENDPOINT="https://api.cnb.cool"
Notes:
CNB_TOKENis used for authentication for requests to the CNB Open API.CNB_API_ENDPOINTspecifies the request base address; the default value ishttps://api.cnb.cool. If your environment uses a different API gateway or private deployment, you can override it here.
Do not write the Token into the repository or conversation logs; prioritize using local environment variables or client secure key configurations.
Typical Usage¶
Without reproducible Shell/API examples, you can initiate queries in Agent conversations based on the intent described in the Skill description, for example:
- Specify the entity type to query (Projects, Repositories, Issues, Merge Requests, etc.).
- Provide identifiers to locate the resource (Project name, Repository path, ID number, etc., subject to the actual fields in your CNB environment).
- Confirm that
CNB_TOKENis set; setCNB_API_ENDPOINTif necessary.
The Agent initiates requests to the CNB Open API under the guidance of the Skill and organizes the results. Specific paths and parameters must comply with CNB Open API specifications; if 401/403 is returned, first check if the Token and endpoint are correct.
Suitable Scenarios and Notes¶
Suitable for:
- Quickly checking read-only or query-related information on CNB such as projects, repositories, Issues, MRs, etc. in Agents on a daily basis.
- Teams already using CNB for build and collaboration, wanting to reduce manual
curlor temporary scripts.
Notes:
CNB_TOKENmust be configured; the SkillHub tag indicatesrequires_api_key=true.- Statistics like downloads and ratings in the description change with SkillHub updates; as of data scraping: Rating 100000, Downloads 756, Installations 0.
- Community Skill (
user_f12a44b7), please follow up on upgrades and issue feedback via the SkillHub release page. - Do not assume the Skill covers capabilities not declared in the description (e.g., triggering builds, modifying repository settings); refer to the boundaries of CNB official API capabilities.
Conclusion¶
Self Dev Cnb Openapi Skills encapsulates CNB Open API queries and collaboration data access into a Skill usable by Agents. Its core value is the standardization of authentication and endpoints (CNB_TOKEN, CNB_API_ENDPOINT), and completing queries for projects, repositories, Issues, MRs, etc., within conversations. Complete installation and credential configuration on SkillHub before use. For details, see: https://www.skillhub.cn/skills/user_f12a44b7/self-dev-cnb-openapi-skills