{"uid":"cap_pRupRWFjG6dAFunWIkPwu","slug":"repo-health-brief-fbd632ce","name":"Repo Health Brief","description":"repository health brief from a GitHub repo slug or pasted repository notes, returning concise risk flags for agent planning.","url":"https://relay402.georgespring.workers.dev/api/compose-repo-health-brief","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"repo":{"type":"string","pattern":"^[A-Za-z0-9_.-]+\\/[A-Za-z0-9_.-]+$"},"content":{"type":"string","maxLength":64000}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kim5NjlvXvUJwug-esJRt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a concise health and risk brief for a GitHub repository, returning structured risk flags useful for agent planning and code review decisions.","exampleAgentPrompt":"Can you give me a quick health and risk brief for the repo openai/openai-python — I want to know if there are any red flags before I add it as a dependency?","exampleUseCases":[{"title":"Dependency vetting before integration","prompt":"Before I add this library to our project, can you pull a health brief for the repo langchain-ai/langchain and flag any maintenance or security risks I should know about?"},{"title":"Pre-deployment repo audit","prompt":"We're about to deploy code that relies on huggingface/transformers — can you run a quick health check on that repo and tell me if there are any risk flags I should address first?"},{"title":"Open source contribution risk check","prompt":"I'm thinking of contributing to the repo facebook/react-native — can you give me a brief on its health status and flag anything that looks concerning before I start?"}],"resultDescription":"A concise textual brief summarizing repository health signals and risk flags, including indicators such as maintenance activity, open issue trends, contributor patterns, license status, and any notable security or quality concerns — formatted for quick agent consumption and planning decisions.","failureModes":["Invalid repo slug format (not owner/repo) returns a validation error","Private or non-existent repositories may return no data or an error","Pasted content exceeding 64,000 characters is rejected","Rate limits or GitHub API unavailability may cause failures","Ambiguous or incomplete repo notes may produce low-confidence output"],"whenToPreferThis":"Use this endpoint when an agent needs a fast, structured risk assessment of a GitHub repository before integrating a dependency, reviewing a PR, or planning automated workflows. It is ideal for pre-flight checks in CI/CD pipelines or agent orchestration flows where a human-readable risk brief is more useful than raw API data. Prefer it over manual GitHub API calls when you want opinionated, summarized risk flags rather than raw repository metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:40.461Z","isFirstParty":false}