CtrlK
BlogDocsLog inGet started
Tessl Logo

context-awareness

How the agent knows what the user is looking at. Use when exposing UI state to the agent, implementing view-screen or navigate actions, wiring navigation state, or debugging agent context issues.

64

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

The canonical home for this skill is context-awareness in BuilderIO/agent-native

SKILL.md
Quality
Evals
Security

Quality

Content

75%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.

A well-structured, highly actionable reference for the context-awareness protocol: real code for both UI and agent sides, explicit guard conditions, and clear Do/Don't boundaries. The main costs are recap redundancy in the Do/Don't sections, a few placeholder calls in the view-screen example, and overlap between the Jitter Prevention section and the real-time-sync skill.

Suggestions

Trim the Do/Don't recap redundancy — e.g., 'Don't duplicate whole URL query strings into `navigation`' and 'Keep shareable filters in URL query params' already appear in the `__url__` section — to recover tokens without losing guidance.

Make the view-screen example copy-paste ready by replacing the undefined `fetchEmailList`/`fetchThread` calls with one fully shown helper (or a realistic Drizzle query) so the pattern is executable as written.

Reduce the Jitter Prevention section to a short summary plus a pointer to the real-time-sync skill, since the useDbSync/ignoreSource/X-Request-Source mechanics belong to that skill's domain.

DimensionReasoningScore

Conciseness

The body is dense with framework-specific facts Claude would not know (navigation keys, TAB_ID resolution, requestSource semantics) and wastes no tokens explaining general concepts. Minor over-explanation remains: the 'Why' paragraph ('Without context awareness, the agent is blind... feels like a collaborator') is motivational padding, and the Do/Don't lists restate body guidance (e.g., 'Don't duplicate whole URL query strings into `navigation`' repeats the `__url__` section). Not 5 because of this redundancy; not 3 because the bulk is lean and non-obvious.

4 / 5

Actionability

Concrete, near-executable code for every pattern: the `useNavigationState` hook, `readAppState("navigation")`, a full `view-screen` action, the `navigate` write, and `useDbSync({ ignoreSource: TAB_ID })`. Not 5 because of minor gaps — `fetchEmailList`/`fetchThread` are undefined placeholders in the view-screen example and `getCommandPath: (command: any)` uses an untyped any; not 3 because the code is real TypeScript, not pseudocode, and covers the common cases.

4 / 5

Workflow Clarity

The bidirectional protocol is clearly sequenced: UI writes `navigation` on route change → `<current-screen>` is auto-injected every turn → agent reads state before acting → `view-screen` for richer snapshots → one-shot `navigate` command consumed and deleted by the UI. Guard conditions are explicit ('only when `selection` is null should the agent ask which item', 'have the UI prefer `path` before falling back to semantic routing'). Not 5 because there are no explicit validation/verification checkpoints (e.g., handling a null or stale `navigation` read); not 3 because the sequence is coherent, explicit, and the operations are non-destructive so the validation cap does not apply.

4 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ are absent), so all content is appropriately inline, organized under clear headers (Rule, Why, Core Patterns 1-4, Jitter Prevention, Gold-Standard Example, Do, Don't, Related Skills) with a Related Skills section providing outward navigation. Not 5 because some sections (Jitter Prevention's useDbSync internals, the mail Gold-Standard Example) overlap with the related real-time-sync skill and could be a one-line pointer; not 3 because structure is good and nothing is buried or misplaced.

4 / 5

Total

16

/

20

Passed

Description

83%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.

A strong description with an explicit 'Use when' clause carrying four concrete trigger actions and a clear, if conceptual, statement of what the skill covers. Trigger keywords are natural for the target developer audience, with minor gaps in synonym coverage and a slightly broad 'debugging' trigger that risks minor overlap with related skills.

DimensionReasoningScore

Specificity

The 'Use when' clause lists several concrete actions — 'exposing UI state to the agent', 'implementing view-screen or navigate actions', 'wiring navigation state', 'debugging agent context issues' — but the opening 'How the agent knows what the user is looking at' is a conceptual framing rather than an enumerated capability, leaving minor coverage gaps. Not 5 because the capability list is not comprehensive; not 3 because it names more than 1-2 concrete actions in the domain.

4 / 5

Completeness

Both parts are explicitly present: the what ('How the agent knows what the user is looking at') and an explicit, concrete when ('Use when exposing UI state to the agent, implementing view-screen or navigate actions, wiring navigation state, or debugging agent context issues'). Matches the anchor-5 example structure; not 4 because the 'when' is already explicit and specific with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural trigger phrases a developer would say include 'exposing UI state', 'view-screen or navigate actions', 'wiring navigation state', and 'debugging agent context issues'. Not 5 because common variations/synonyms (e.g., 'selection state', 'current screen', 'agent context') are only partially covered; not 3 because keyword coverage is good rather than merely 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

The description carves a clear niche (agent navigation/UI-state awareness) with distinct triggers like 'view-screen or navigate actions'. Not 5 because 'debugging agent context issues' is broad and overlaps slightly with closely related skills (e.g., real-time-sync, actions); not 3 because the bulk of triggers are specific to this skill's domain.

4 / 5

Total

17

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository
BuilderIO/agent-native
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.