{"uid":"cap_CodVD0YvxDFxNmfY9XJe1","slug":"agentdiet-github-audit-ecaf7699","name":"AgentDiet GitHub Audit","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://x402-audit-72343955726.us-central1.run.app/v1/github-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","minLength":1,"description":"GitHub repository in owner/name format (e.g. modelcontextprotocol/servers or langchain-ai/langgraph)"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HNMVuIRGCkvCzFWHq3wxt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits a GitHub repository and returns an agent-ready distilled markdown summary of its code, structure, or documentation","exampleAgentPrompt":"Can you audit the GitHub repo at https://github.com/coinbase/agentkit and give me a distilled markdown summary of what it does, its structure, and any notable patterns — I want the compressed agent-ready version to save tokens.","exampleUseCases":[{"title":"Open source due diligence before integration","prompt":"I'm considering integrating the GitHub repo https://github.com/openai/swarm into my project — can you audit it and give me a distilled summary of its structure, dependencies, and what it actually does?"},{"title":"Competitive intelligence on a rival codebase","prompt":"Audit the GitHub repo https://github.com/anthropics/anthropic-sdk-python and distill it into a concise markdown overview — I want to understand its architecture and key features without wading through all the files."},{"title":"Agent-readable snapshot for downstream LLM tasks","prompt":"Pull an audit of https://github.com/langchain-ai/langchain and give me the compressed markdown version — I need a token-efficient summary I can feed into another prompt without blowing my context window."}],"resultDescription":"Returns a JSON object containing a distilled markdown document with the repo's title and content, plus ROI/compression metrics including raw token count, distilled token count, compression ratio percentage, and a token-savings multiplier — all optimized for downstream LLM consumption.","failureModes":["Invalid or private GitHub repository URL returns an error","Repository too large may hit processing limits","Rate limiting or payment failure via x402/USDC can block the request","Malformed request parameters return a 400-level error","Temporary upstream GitHub API unavailability causes 503"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, agent-ready distillation of a GitHub repository rather than raw file contents. It is especially valuable when you want to feed repository information into a downstream LLM task without exhausting your context window, or when you need structured markdown output with built-in compression metrics to validate ROI. Prefer it over direct GitHub API calls when you want pre-processed, noise-reduced summaries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:45:00.328Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-ecaf7699"}