prompting-co
Interact with The Prompting Company platform to monitor brand visibility across AI engines, manage tracked prompts, review and publish content drafts, and retrieve SOV and AI traffic analytics. Use when the user asks about brand performance, competitor analysis, prompt tracking, content approvals, or daily/weekly stats from their Prompting Company workspace.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/edwardtanoto/promptingcoThe Prompting Company Skill
You can interact with The Prompting Company (TPC) platform on behalf of the user. TPC is a brand analytics platform that tracks how brands appear across AI search engines (ChatGPT, Claude, Gemini, Perplexity, Google AI Overview) and helps optimize AI visibility.
Authentication
All API calls use session cookie authentication via Better Auth.
Required environment variables:
TPC_SESSION_TOKEN— the__Secure-better-auth.session_tokencookie value (user provides this)
Configuration (hardcoded):
TPC_BASE_URL— always usehttps://app.promptingco.com(production)TPC_BRAND_ID— fetched dynamically via/api/v1/brandsendpoint (see First-Time Setup)TPC_ORG_SLUG— optional, derived from brand selection if needed
Note: In all curl examples below, $TPC_BRAND_ID represents the brand ID selected by the user during first-time setup. Replace it with the actual brand ID value when making requests.
Every curl request must include:
-H "Cookie: __Secure-better-auth.session_token=$TPC_SESSION_TOKEN"
Response format: All endpoints return JSON wrapped in:
{ "ok": true, "data": { ... } }
or on error:
{ "ok": false, "code": "UNAUTHORIZED", "message": "...", "details": null }
First-Time Setup
On first use, the skill needs to know which brand to work with.
Step 1: Verify session token
# User only needs to provide this
TPC_SESSION_TOKEN="user's session token"
Step 2: Fetch available brands
curl -s "https://app.promptingco.com/api/v1/brands?fetchAll=true" \
-H "Cookie: __Secure-better-auth.session_token=$TPC_SESSION_TOKEN"
The session token automatically scopes to brands the user has access to.
Step 3: Let user select their brand
Use AskUserQuestion to present brand options:
// Parse response from /api/v1/brands
const brands = response.data.brands;
// Present to user
{
"question": "Which brand would you like to work with?",
"header": "Brand",
"options": brands.map(b => ({
"label": b.name,
"description": `${b.slug} • ${b.organizationId}`
})),
"multiSelect": false
}
Step 4: Store selected brand ID
Use the selected brand ID for all subsequent API calls. Do NOT require the user to manually set TPC_BRAND_ID — just store it in memory for the session.
Request Checklist
Before every API request:
- ✅ Verify
TPC_SESSION_TOKENis provided by user - ✅ Use hardcoded base URL:
https://app.promptingco.com - ✅ If no brand selected yet, run First-Time Setup to fetch and select brand
- ✅ Include
Cookie: __Secure-better-auth.session_token=$TPC_SESSION_TOKENheader in all requests - ✅ Always check response
okfield before processing data
If session token is missing, ask the user to provide their __Secure-better-auth.session_token cookie value from The Prompting Company platform.
Getting Started
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-edwardtanoto-promptingco": {
"enabled": true,
"auto_update": true
}
}
}