- name
- connect-tool-library
- description
- Interact with remote CLI, API, and MCP tools via the CogenticLink CLI. Progressive disclosure from Tool Library down to Tool via categories. Use this skill when you need to manage Tool libraries (tokens), browse available tools, and execute tool calls.
- metadata
- openclaw
- homepage
- https://www.npmjs.com/package/cogenticlink
- requires
- bins
- config
- install
- package
- cogenticlink
- bins
Connect Tool Library Skill (via cogenticlink CLI)
Managing Tool Libraries (Tokens)
Before using any tool, you must add a library (API token) using the cogenticlink CLI:
- Set a library (name, token, optional description):
cogenticlink libraries set <name> <token> [description]
- List all libraries (markdown output):
cogenticlink libraries
- Remove a library:
cogenticlink libraries remove <name>
Executing Tool Calls
All tool commands require the library name as a positional argument.
- Fetch Tool Categories (markdown output):
cogenticlink categories '<library>'. Returns a list of categories.
- Fetch Tool List of Category (markdown output):
cogenticlink tools '<library>' '<category>'. If category is omitted, defaults to All Tools.
- Obtain Tool Description & Input Schema:
cogenticlink describe '<library>' '<tool>'. Returns Markdown containing the tool's description and JSON schema for parameters.
- Call Tool:
cogenticlink call '<library>' '<tool>' '[parameters]'. parameters is an optional JSON object (default {}). Successful responses return JSON with a content array. Errors return isError: true with details in content.
Workflow
- Check/Create Library – If no library exists, instruct the user to set one:
cogenticlink libraries set '<name>' <token> '[description]'. If the token is unknown, ask the user to create a tool library in Cogentic Hub. - Fetch Tool Categories
- Select a category, If none selected, use
'All Tools'category. - Fetch Tool List from Selected Category
- Obtain Tool Description & Input Scheman
- Call Tool
Troubleshooting with the CLI
- Library not found – Run
cogenticlink librariesto list existing libraries. - Invalid token – Re‑set the library with the correct token.
- Tool not found – Verify the tool name using
cogenticlink tools '<library>' 'All Tools'. - Invalid parameters – Check the tool's input schema with
cogenticlink describe '<library>' '<tool>'.