auditing-endpoints
하는 일
이 스킬은 PostHog 프로젝트의 모든 엔드포인트를 점검하고, 정리할 항목에 대한 우선순위 보고서를 줍니다. 많은 엔드포인트를 관리하면서 어수선함과 비용을 줄이려는 사람을 위한 것입니다.
사용하는 경우
- ✓어떤 엔드포인트를 삭제하거나 정리할 수 있는지 알고 싶을 때.
- ✓PostHog 프로젝트를 넘겨받아 이미 어떤 엔드포인트가 있는지 보고 싶을 때.
- ✓오래 실행된 엔드포인트를 주기적으로 검토하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/endpoints/skills/auditing-endpoints/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 PostHog 엔드포인트를 감사해서 정리할 수 있는 것을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
clickhouse-io
280k에이전트가 ClickHouse 데이터베이스의 쿼리와 스키마를 최적화하도록 돕습니다. 고성능 분석 작업의 모범 사례를 적용합니다. 분석 쿼리가 느릴 때 씁니다.
scientific-db-pubmed-database
280k생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.