{"uid":"cap_ngKQyGUTfv6BSNbRAbcoK","slug":"agentdiet-github-audit-3e72cc53","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://domain-osint-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_jB5cX2J5KeGgx8O9xMGfu","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":"Fetches and distills GitHub repository audit data into clean, token-efficient markdown for AI agents","exampleAgentPrompt":"Can you audit the GitHub repo at https://github.com/openai/openai-python and give me a distilled summary of its structure, contributors, and any red flags — I need it in a compact format my agent can parse quickly?","exampleUseCases":[{"title":"Due diligence on open source dependency","prompt":"I'm considering adding the github.com/langchain-ai/langchain repo as a dependency — can you audit it and give me a token-efficient breakdown of its activity, contributors, and any concerns I should know about?"},{"title":"Security review of a vendor's codebase","prompt":"Before we integrate with this vendor, can you run a GitHub audit on their public repo at github.com/acmecorp/api-sdk and flag anything suspicious like abandoned maintenance, single contributors, or sketchy commit history?"},{"title":"Competitive intelligence on a rival's GitHub","prompt":"Can you pull a distilled audit of github.com/supabase/supabase so I can quickly understand their repo structure, activity level, and key contributors without reading through thousands of lines myself?"}],"resultDescription":"Returns a JSON object containing a distilled markdown report of the GitHub repository audit (title + clean agent-ready markdown content), plus ROI proof metrics showing raw token count, distilled token count, compression ratio percentage, and a multiplier indicating how many tokens were saved — typically achieving 90%+ compression.","failureModes":["Invalid or private GitHub repository URL returns an error","Rate limiting from GitHub API causes fetch failure","Repository is empty or has no meaningful content to distill","Payment not completed via x402/HTTP 402 results in blocked access","Network timeout on large repositories with many files"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest GitHub repository data without consuming large token budgets — it excels at compressing repo content by 90%+ into agent-readable markdown. Prefer it over direct GitHub API calls when token efficiency matters, or when you need a structured audit summary rather than raw API responses. Ideal for due diligence workflows, dependency audits, and competitive intelligence pipelines where speed and cost per token matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:38:06.323Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-3e72cc53"}