CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

debugging-table-access-denied

Debugs a TableAccessDeniedError from an error tracking issue, Slack alert, or user report. Use when investigating why HogQL denied a system or warehouse table and whether the occurrence is a real bug or expected behavior. Trigger terms include TableAccessDeniedError, table_access_denied, and "You don't have access to table".

Quality

99%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a model diagnostic skill: it opens with a precise definition of the error, points to the mechanism doc as the required first read, and then delivers six terse, non-obvious discriminators that take an investigator from the event's query tags to a concrete verdict (calling-code bug, benign creator-access-revoked cause, or real access rule). Structure, brevity, and actionability are all consistent with the rubric's best examples.

DimensionReasoningScore

Conciseness

The ~20-line body is dense with non-obvious domain facts ("A nonexistent table raises `Unknown table` instead"; "`bypass_warehouse_access_control` does not cover system tables") and assumes Claude's competence about HogQL, RBAC, celery, and query tags without explaining any of them. Every token earns its place; there is no padding or over-explanation to trim, so it matches the anchor-5 lean example rather than anchor 4's "minor instances of over-explanation".

5 / 5

Actionability

For an instruction-only skill the guidance is fully executable: exact paths (`posthog/hogql/errors.py`), the exact query tags to inspect (`team_id`, `user_id`, `product`, `celery_task_id`, `temporal.*`), concrete discriminators ("A `system.*` name is a system-table decision; a bare name is a warehouse table/view denial"), and specific check targets ("check the `AccessControl` rows for the table's `access_scope`"). Each check terminates in a stated verdict and the common cases are all covered, matching anchor 5 rather than anchor 4's "minor gaps".

5 / 5

Workflow Clarity

This is a single-purpose skill under 50 lines whose single task is unambiguous: it opens with an explicit entry point ("read it first" for ACCESS_CONTROL.md) and the hints form a differential-diagnosis decision tree in which every branch ends in a verdict (bug in the calling code / benign creator-left-org cause / real RBAC or entitlement rule). The workflow-clarity cap for destructive or batch operations does not apply since this is read-only diagnosis, and the simple-skill exception is satisfied.

5 / 5

Progressive Disclosure

At under 50 lines with no bundle files, the body is well organized (definition → mechanism pointer → hints) and appropriately splits content: the access-control mechanism lives in a single clearly-signaled one-level-deep reference ([`posthog/hogql/ACCESS_CONTROL.md`], "read it first") while the triage heuristics stay inline. There is no nesting or buried reference, matching the under-50-lines exception for a top score.

5 / 5

Total

20

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: it names the exact error, the intake sources (error tracking issue, Slack alert, user report), the subsystem (HogQL), the table categories (system vs warehouse), and the diagnostic outcome (real bug vs expected behavior), all in third person with an explicit "Use when" clause. Trigger terms cover every natural form of the error a user would encounter.

DimensionReasoningScore

Specificity

"Debugs a TableAccessDeniedError from an error tracking issue, Slack alert, or user report" and "investigating why HogQL denied a system or warehouse table and whether the occurrence is a real bug or expected behavior" name multiple concrete actions (debug from three named sources, root-cause the denial, classify bug vs expected) with comprehensive coverage of the skill's diagnostic scope. It is not anchor 4, which requires minor gaps in coverage — every capability of the skill is stated concretely.

5 / 5

Completeness

It explicitly answers "what" ("Debugs a TableAccessDeniedError... investigating why HogQL denied a system or warehouse table and whether the occurrence is a real bug or expected behavior") and "when" ("Use when investigating why HogQL denied a system or warehouse table...") with concrete trigger phrases. Both elements are explicit, matching the anchor-5 example pattern rather than anchor 4, where the 'when' clause is only loosely specified.

5 / 5

Trigger Term Quality

"Trigger terms include TableAccessDeniedError, table_access_denied, and 'You don't have access to table'" covers every form a user or issue would naturally contain: the exception class name, the error code, and the literal user-facing message. This matches the comprehensive-synonyms anchor; anchor 4 ("a few natural terms missing") would require a missing real-world variant, and none exists for this error.

5 / 5

Distinctiveness Conflict Risk

The description targets a single specific error type in PostHog HogQL with exact trigger strings (TableAccessDeniedError, table_access_denied, the literal denial message), giving it a clear niche with minimal conflict risk against other skills. It is far more distinct than the anchor-4 example ("Works with PDF and Word document files"), which still spans multiple file types.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

Total

15

/

16

Passed

Repository

PostHog/posthog

Path

.agents/skills/debugging-table-access-denied/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.