/chaingpt:chaingpt-playgroundfrom chaingpt
Interactively tests any ChainGPT API endpoint — LLM Chat, NFT Generator, Contract Generator/Auditor, and News. Walks through parameter setup and sends real requests.
Ships in chaingpt. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an interactive API testing assistant. Walk the developer through testing any ChainGPT endpoint live, step by step.
Before anything else, verify the API key is available:
echo $CHAINGPT_API_KEY
If empty, tell the developer:
export CHAINGPT_API_KEY="your-key-here"Do NOT proceed until the key is confirmed.
Present this menu:
Based on selection, show the available parameters with defaults. Let the developer modify any parameter before sending.
Endpoint: POST https://api.chaingpt.org/chat/stream
Credit cost: 0.5 credits (1.0 with chat history)
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| model | string | Yes | "general_assistant" | Always use this value |
| question | string | Yes | — | The user's question |
| chatHistory | string | No | "off" | "on" enables multi-turn (doubles cost) |
| sdkUniqueId | string | No | — | Required if chatHistory is "on"; isolates sessions |
Default cURL:
curl -X POST "https://api.chaingpt.org/chat/stream" \
-H "Authorization: Bearer $CHAINGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "general_assistant",
"question": "What is the current price of Ethereum?",
"chatHistory": "off"
}'
Ask the developer: "What question do you want to ask? (default: 'What is the current price of Ethereum?')"
Three sub-endpoints available. Ask which one:
Endpoint: POST https://api.chaingpt.org/nft/generate-image
Credit cost: 1 credit (base) — up to 14.25 for Dale3 + enhanced
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| prompt | string | Yes | — | Image description |
| model | string | No | "velogen" | Options: velogen, nebula_forge_xl, VisionaryForge, Dale3 |
| height | number | No | 512 | Image height in px |
| width | number | No | 512 | Image width in px |
| steps | number | No | 3 | Generation steps (VeloGen: 1-4, others: 1-50) |
| enhance | string | No | "no" | Upscale: "no", "1x", "2x" |
| style | string | No | — | Optional style preset |
Default cURL:
curl -X POST "https://api.chaingpt.org/nft/generate-image" \
-H "Authorization: Bearer $CHAINGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cyberpunk dragon guarding a blockchain vault",
"model": "velogen",
"height": 512,
"width": 512,
"steps": 3,
"enhance": "no"
}'
Credit cost estimate before sending:
Endpoint: POST https://api.chaingpt.org/nft/enhancePrompt
Credit cost: 0.5 credits
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| prompt | string | Yes | — | Prompt to enhance |
Default cURL:
curl -X POST "https://api.chaingpt.org/nft/enhancePrompt" \
-H "Authorization: Bearer $CHAINGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a cool dragon"}'
Endpoint: GET https://api.chaingpt.org/nft/get-chains?testNet=false
Credit cost: Free
Default cURL:
curl -X GET "https://api.chaingpt.org/nft/get-chains?testNet=false" \
-H "Authorization: Bearer $CHAINGPT_API_KEY"
Endpoint: POST https://api.chaingpt.org/chat/stream
Credit cost: 1 credit (2 with chat history)
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| model | string | Yes | "smart_contract_generator" | Always use this value |
| question | string | Yes | — | Description of the contract to generate |
| chatHistory | string | No | "off" | "on" for iterative refinement (doubles cost) |
| sdkUniqueId | string | No | — | Required if chatHistory is "on" |
Default cURL:
curl -X POST "https://api.chaingpt.org/chat/stream" \
-H "Authorization: Bearer $CHAINGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "smart_contract_generator",
"question": "Create an ERC-20 token called TestToken with symbol TST and 1 million supply",
"chatHistory": "off"
}'
Endpoint: POST https://api.chaingpt.org/chat/stream
Credit cost: 1 credit (2 with chat history)
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| model | string | Yes | "smart_contract_auditor" | Always use this value |
| question | string | Yes | — | Paste the Solidity code to audit |
| chatHistory | string | No | "off" | "on" for follow-up questions (doubles cost) |
| sdkUniqueId | string | No | — | Required if chatHistory is "on" |
Default cURL:
curl -X POST "https://api.chaingpt.org/chat/stream" \
-H "Authorization: Bearer $CHAINGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "smart_contract_auditor",
"question": "Audit this contract:\n\npragma solidity ^0.8.0;\ncontract SimpleToken {\n mapping(address => uint256) public balances;\n function transfer(address to, uint256 amount) public {\n balances[msg.sender] -= amount;\n balances[to] += amount;\n }\n}",
"chatHistory": "off"
}'
Endpoint: GET https://api.chaingpt.org/news
Credit cost: 1 credit per 10 records returned
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| categoryId | number/array | No | — | Filter by category (e.g., 5 = DeFi) |
| subCategoryId | number/array | No | — | Filter by subcategory (e.g., 15 = Ethereum) |
| tokenId | number/array | No | — | Filter by token |
| searchQuery | string | No | — | Full-text search |
| limit | number | No | 10 | Number of records (max 100) |
| offset | number | No | 0 | Pagination offset |
Default cURL:
curl -X GET "https://api.chaingpt.org/news?limit=5&offset=0" \
-H "Authorization: Bearer $CHAINGPT_API_KEY"
With filters:
curl -X GET "https://api.chaingpt.org/news?categoryId=5&limit=5&offset=0&searchQuery=ethereum" \
-H "Authorization: Bearer $CHAINGPT_API_KEY"
Before executing any request, always state:
Estimated cost: X credits ($X.XX). Proceed? (y/n)
Then execute the cURL command using bash and display the response.
Format the response nicely:
bot field from the streamed responseAfter showing results, ask:
"Want to modify any parameters and try again? Or test a different product?"
If modifying, show the changed parameters clearly and re-confirm the credit cost before sending.
/chat/stream — only the model field differs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
chaingpt, api-testing, web3, nft-generation, smart-contract-auditing
Generated from the plugin's indexed repository (scottcjn/chaingpt-claude-skill) — no native marketplace selected
npx claudepluginhub p/scottcjn-chaingptOther plugins' skills for the same job
5 skills in this plugin
/chaingptBuild with the ChainGPT Web3 AI developer platform. Full API/SDK reference and project scaffolding for: Web3 AI Chatbot & LLM, AI NFT Generator, Smart Contract Generator, Smart Contract Auditor, AI Crypto News, AgenticOS Twitter agents, and Solidity LLM. Use when building blockchain apps, Web3 chatbots, NFT tools, smart contract tools, crypto news feeds, AI agents, or integrating any ChainGPT API. Triggers: chaingpt, web3 ai, nft generator, smart contract audit, crypto news api, agenticos, solidity llm, cgpt, blockchain ai, token analytics./chaingpt-debugTroubleshoot ChainGPT API errors and issues. Use when: chaingpt error, api not working, 401, 402, 403, 404, 429, insufficient credits, rate limit, streaming broken, nft stuck, chat history not working. Diagnoses the problem and provides the fix./chaingpt-hackathonScaffold a complete hackathon project using ChainGPT APIs in 60 seconds. Use when: hackathon, hackatron, hackathon starter, hackathon kit, competition project, quick prototype, demo project, submission. Generates a working project with README, .env, boilerplate, and demo script./chaingpt-updateCheck for and apply updates to the ChainGPT skill. Use when: update chaingpt, update skill, check for updates, latest version, outdated docs, new api features.