[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EEEFNF7P04NSTJ30GDZ1Q8":3,"skill-same:01M6EEEFNF7P04NSTJ30GDZ1Q8":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EEEFNF7P04NSTJ30GDZ1Q8","axiom",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Faxiom\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Axiom — Serverless Log Analytics\n\n\n## Overview\n\n\nAxiom, the serverless log management and analytics platform that stores and queries unlimited data at fixed cost. Helps developers ingest logs, traces, and events from any source, query them with APL (Axiom Processing Language), build dashboards, and set up alerts — all without managing infrastructure or worrying about per-GB pricing.\n\n\n## Instructions\n\n### Ingestion\n\n```typescript\n\u002F\u002F Send logs via HTTP API\nimport Axiom from \"@axiomhq\u002Fjs\";\n\nconst axiom = new Axiom({ token: process.env.AXIOM_TOKEN! });\n\n\u002F\u002F Ingest events (batched automatically)\nawait axiom.ingest(\"api-logs\", [\n  {\n    level: \"info\",\n    message: \"Order processed\",\n    orderId: \"ord_abc123\",\n    userId: \"usr_456\",\n    amount: 99.99,\n    duration_ms: 245,\n    region: \"us-east-1\",\n    _time: new Date().toISOString(),       \u002F\u002F Optional: Axiom auto-sets if missing\n  },\n  {\n    level: \"error\",\n    message: \"Payment failed\",\n    orderId: \"ord_def789\",\n    error: \"Card declined\",\n    stripe_code: \"card_declined\",\n    duration_ms: 1200,\n  },\n]);\n\n\u002F\u002F Flush before process exit\nawait axiom.flush();\n```\n\n```typescript\n\u002F\u002F Structured logging with Pino → Axiom transport\nimport pino from \"pino\";\n\nconst logger = pino({\n  transport: {\n    target: \"@axiomhq\u002Fpino\",\n    options: {\n      dataset: \"api-logs\",\n      token: process.env.AXIOM_TOKEN,\n    },\n  },\n});\n\nlogger.info({ orderId: \"ord_123\", userId: \"usr_456\", amount: 99.99 }, \"Order created\");\nlogger.error({ orderId: \"ord_123\", error: \"timeout\" }, \"Payment processing timeout\");\n```\n\n### APL Queries (Axiom Processing Language)\n\n```kusto\n\u002F\u002F APL is based on Kusto Query Language (KQL) — same as Azure Data Explorer\n\n\u002F\u002F Error rate over time (5-minute buckets)\n['api-logs']\n| where level == \"error\"\n| summarize errors = count() by bin(_time, 5m)\n| order by _time asc\n\n\u002F\u002F P95 latency per endpoint\n['api-logs']\n| where isnotnull(duration_ms)\n| summarize p95 = percentile(duration_ms, 95), avg_ms = avg(duration_ms), count = count()\n    by endpoint\n| order by p95 desc\n\n\u002F\u002F Top errors in the last hour\n['api-logs']\n| where _time > ago(1h) and level == \"error\"\n| summarize count = count() by message, error\n| order by count desc\n| take 10\n\n\u002F\u002F Revenue by region (last 24h)\n['api-logs']\n| where _time > ago(24h) and message == \"Order processed\"\n| summarize total_revenue = sum(amount), orders = count() by region\n| order by total_revenue desc\n\n\u002F\u002F Slow requests (> 1s) with user context\n['api-logs']\n| where duration_ms > 1000\n| project _time, endpoint, duration_ms, userId, orderId\n| order by duration_ms desc\n| take 20\n\n\u002F\u002F Unique active users per hour\n['api-logs']\n| where isnotnull(userId)\n| summarize active_users = dcount(userId) by bin(_time, 1h)\n```\n\n### Vercel \u002F Next.js Integration\n\n```typescript\n\u002F\u002F next.config.js — Send Vercel logs to Axiom automatically\n\u002F** @type {import('next').NextConfig} *\u002F\nconst nextConfig = {\n  experimental: {\n    instrumentationHook: true,\n  },\n};\n\nmodule.exports = nextConfig;\n\n\u002F\u002F instrumentation.ts — Axiom + Vercel integration\nexport async function register() {\n  if (process.env.NEXT_RUNTIME === \"nodejs\") {\n    const { AxiomWebVitals } = await import(\"@axiomhq\u002Fweb-vitals\");\n    \u002F\u002F Auto-captures Web Vitals, server-side logs, and API route traces\n  }\n}\n```\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Froute.ts — Structured logging in API routes\nimport { withAxiom, AxiomRequest } from \"next-axiom\";\n\nexport const POST = withAxiom(async (req: AxiomRequest) => {\n  req.log.info(\"Processing webhook\", { source: \"stripe\" });\n\n  try {\n    const body = await req.json();\n    await processWebhook(body);\n    req.log.info(\"Webhook processed\", { eventType: body.type });\n    return Response.json({ ok: true });\n  } catch (error) {\n    req.log.error(\"Webhook failed\", { error: error.message });\n    return Response.json({ error: \"Failed\" }, { status: 500 });\n  }\n});\n```\n\n### CLI Queries\n\n```bash\n# Install CLI\nbrew install axiomhq\u002Ftap\u002Faxiom\n\n# Authenticate\naxiom auth login\n\n# Query from terminal\naxiom query \"['api-logs'] | where level == 'error' | take 10\" -f json\n\n# Stream logs in real-time (like tail -f)\naxiom stream api-logs\n\n# Ingest from file\ncat access.log | axiom ingest nginx-logs\n\n# Ingest from pipe\ndocker logs my-container 2>&1 | axiom ingest docker-logs\n```\n\n### Monitors and Alerts\n\n```yaml\n# Axiom Monitors — alert on query results\n# Configure in UI or via Terraform provider\n\n# Example: Error spike alert\n# Query: ['api-logs'] | where level == 'error' | summarize count() by bin(_time, 5m)\n# Condition: count > 100 in any 5-minute window\n# Notify: Slack #alerts channel\n\n# Example: Zero orders alert (business metric)\n# Query: ['api-logs'] | where message == 'Order processed' | summarize count() by bin(_time, 15m)\n# Condition: count == 0 for 15 minutes\n# Notify: PagerDuty\n```\n\n## Installation\n\n```bash\n# CLI\nbrew install axiomhq\u002Ftap\u002Faxiom\n\n# Node.js SDK\nnpm install @axiomhq\u002Fjs\n\n# Pino transport\nnpm install @axiomhq\u002Fpino\n\n# Next.js integration\nnpm install next-axiom\n\n# Python\npip install axiom-py\n```\n\n\n## Examples\n\n\n### Example 1: Setting up Axiom for a microservices project\n\n**User request:**\n\n```\nI have a Node.js API and a React frontend running in Docker. Set up Axiom for monitoring\u002Fdeployment.\n```\n\nThe agent creates the necessary configuration files based on patterns like `# Install CLI`, sets up the integration with the existing Docker setup, configures appropriate defaults for a Node.js + React stack, and provides verification commands to confirm everything is working.\n\n### Example 2: Troubleshooting apl queries issues\n\n**User request:**\n\n```\nAxiom is showing errors in our apl queries. Here are the logs: [error output]\n```\n\nThe agent analyzes the error output, identifies the root cause by cross-referencing with common Axiom issues, applies the fix (updating configuration, adjusting resource limits, or correcting syntax), and verifies the resolution with appropriate health checks.\n\n\n## Guidelines\n\n1. **Datasets as logical groups** — Create separate datasets for different log types (api-logs, frontend-events, infra-metrics); each has its own retention and access controls\n2. **Structured over unstructured** — Send JSON objects, not plain text; structured fields enable filtering, aggregation, and dashboards\n3. **APL for power queries** — Learn APL basics (where, summarize, project, join); it's far more powerful than regex-based log search\n4. **Vercel integration** — If on Vercel, use `next-axiom` for zero-config logging; Web Vitals, API traces, and server logs flow automatically\n5. **Stream for debugging** — Use `axiom stream` in terminal for real-time log tailing; faster than switching to a browser\n6. **Fixed pricing model** — Axiom charges per time (not per GB); ingest as much as you want without worrying about cost spikes\n7. **Annotations for deploys** — Mark deployments as annotations in Axiom; correlate performance changes with releases\n8. **Monitors on business metrics** — Don't just monitor errors; monitor business KPIs (orders, signups, revenue) and alert when they drop\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Faxiom",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill axiom",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill axiom",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill axiom","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Faxiom\u002FSKILL.md",true,[],[46,60,70,79,85,92],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":56,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[51],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":66,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[65],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[67,68,69],"MCP","zoom","zoom mcp",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[76,77,78,68],"sdk","zoom apps sdk","apps",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[90],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[87],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]