मुख्य सामग्री पर जाएँ
Skillpedia
डेटाबेस41k · #6857

auditing-endpoints

यह क्या करती है

यह स्किल PostHog प्रोजेक्ट के सभी एंडपॉइंट जाँचती है और साफ़ करने लायक चीज़ों की प्राथमिकता वाली रिपोर्ट देती है। यह उन लोगों के लिए है जो बहुत सारे एंडपॉइंट संभालते हैं और अव्यवस्था व खर्च घटाना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहें कि कौन से एंडपॉइंट हटाए या साफ़ किए जा सकते हैं।
  • ✓जब आप कोई PostHog प्रोजेक्ट संभाल रहे हों और देखना चाहें कि उसमें पहले से कौन से एंडपॉइंट हैं।
  • ✓जब एंडपॉइंट लंबे समय से चल रहे हों और आप समय-समय पर समीक्षा चाहें।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/endpoints/skills/auditing-endpoints/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/endpoints/skills/auditing-endpoints/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे PostHog एंडपॉइंट का ऑडिट कीजिए और बताइए कि मैं कौन से साफ़ कर सकता हूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह एंडपॉइंट टूल्स से उम्मीदवार खोजती है, जैसे विफल मैटेरियलाइज़ेशन और बिना इस्तेमाल वाले मैटेरियलाइज़्ड वर्ज़न, फिर उन्हें एक रिपोर्ट में समूहित करती है। यह कुछ भी नहीं बदलती।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Auditing endpoints

This skill produces a project-wide audit of the Endpoints product. Use it when the user wants to find what to clean up — unused endpoints, failing materialisations, materialised versions that nobody calls any more. It does not modify anything; it reports.

The deeper investigation per endpoint is diagnosing-endpoint-performance. The audit's job is to find candidates and hand off.

When to use this skill

  • "Audit my endpoints" / "What endpoints can I clean up?"
  • The user is taking over a project and wants to know what they've inherited
  • A periodic review (monthly / quarterly) of endpoint sprawl
  • The user is over a materialisation cost budget and wants to know what to disable

The dedicated tools give a fast endpoint-level view. For call frequency, recency, and cost over time, query the query_log table with execute-sql (endpoint-level). Per-version recency comes from endpoint-versions — each version carries its own last_executed_at.

Available tools

Tool What it's for
execute-sql (HogQL) Primary read path. Query system.data_modeling_endpoints for metadata (name, is_active, current_version, derived_from_insight, last_executed_at) and query_log for endpoint-level usage (call counts, recency, duration, bytes)
endpoint-materialization-status Per endpoint: is materialisation eligible, current status, last run, last error (not in the system tables — use this tool)
endpoint-versions All versions for one endpoint, latest first, with each version's query, materialisation state, and last_executed_at
endpoint-update Write path — disable (is_active: false) or unmaterialise (is_materialized: false) after the user confirms
agent-feedback Tell the PostHog team what's missing or confusing in this flow so the product and skill improve

Prefer reading from the system tables over the endpoints-get-all / endpoint-get tools — one SQL query returns the whole inventory and lets you join metadata to usage in query_log.

What counts as an issue

Category Trigger Typical action
Never called No rows in query_log for the endpoint (personal-API-key calls only) Confirm with the user, then disable
Stale query_log shows the last call more than 30 days ago Confirm with the user; often safe to disable
Inactive is_active = 0 in system.data_modeling_endpoints Verify intent; if abandoned, delete
Failing materialisation endpoint-materialization-status returns Failed with an error Hand off to diagnosing-endpoint-performance
Unused materialised version A materialised version whose last_executed_at (from endpoint-versions) is null or long stale Unmaterialise that version, or roll to a newer one
Drifted versions Many versions exist (query
अक्सर पूछे जाने वाले सवाल

क्या यह स्किल कोई एंडपॉइंट हटाती है?

नहीं। यह केवल जो मिलता है उसकी रिपोर्ट देती है, इसलिए आप तय करते हैं कि क्या हटाना है।

मैटेरियलाइज़्ड एंडपॉइंट वर्ज़न क्या है?

यह एंडपॉइंट के नतीजों की संग्रहीत प्रति है, जो स्टोरेज और कंप्यूट का खर्च डाल सकती है, भले ही उसे कोई कॉल न करे।

मैं देख सकता हूँ कि एंडपॉइंट कितनी बार कॉल होता है?

स्किल सुझाती है कि कॉल की आवृत्ति और ताज़गी के लिए क्वेरी लॉग देखें, क्योंकि हर वर्ज़न का अंतिम रन समय दिखता है।

जानकारी

लेखक का मूल विवरण

Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can I clean up?", "are any of my endpoints broken?", "which materialised versions are still being called?", or wants a one-shot cleanup pass over the Endpoints product. Produces a prioritised report grouped by issue type, with recommended actions but does not modify anything without explicit confirmation.

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6857
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills