page-agent: Skill for Claude Code

.agents/skills/pre-impl-discussion/SKILL.md

pre-impl-discussion is a skill for Claude Code from alibaba/page-agent. It costs 59 tokens per session (1,032 once invoked), scanned A, original, MIT.

A guided conversation for examining and planning a major code change before any coding starts.

In plain words
What is it for?
Use it to discuss, evaluate, or plan a significant change, especially when requirements or the best approach are uncertain.
Why use it?
It helps avoid implementing the wrong solution by clarifying the current system, constraints, alternatives, and final plan with the user first.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is alibaba/page-agent's own configuration. It tells Claude Code how to work on page-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything page-agent configures →

About the project

Page Agent is a JavaScript library that embeds a natural-language agent inside a web page and lets it operate the page through its text-based DOM. It is used for web copilots, form filling, accessibility, and browser workflows, while the catalogue entries provide agent skills and instructions for using it.

alibaba/page-agent · 29,595 stars · on GitHub · alibaba.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to alibaba/page-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alibaba/page-agent/main/.agents/skills/pre-impl-discussion/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alibaba/page-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pre-impl-discussion

README.md
[![agentmods](https://agentmods.dev/badge/skills/alibaba/page-agent/pre-impl-discussion/github.svg)](https://agentmods.dev/skills/alibaba/page-agent/pre-impl-discussion)
Your own site
<a href="https://agentmods.dev/skills/alibaba/page-agent/pre-impl-discussion"><img src="https://agentmods.dev/badge/skills/alibaba/page-agent/pre-impl-discussion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pre-impl-discussion

Your own site · 80×15
<a href="https://agentmods.dev/skills/alibaba/page-agent/pre-impl-discussion"><img src="https://agentmods.dev/badge/skills/alibaba/page-agent/pre-impl-discussion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 44
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 101
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 99
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01032
Opus 5.5 $0.00024 $0.00413
Sonnet 5.5 $0.00012 $0.00206
Haiku 4.5 $0.00006 $0.00103

Measured 2mo ago against content hash a1e569065a2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pre-impl-discussion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/pre-impl-discussion/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-Implementation Discussion

Facilitate a structured, collaborative discussion to evaluate a proposed change before any implementation begins.

Golden Rule

Do NOT implement anything until the user explicitly confirms the final plan and says to proceed. Not even "let me try on a branch" — that's implementation. The user will tell you when discussion is over.

Interaction Style

  • Concise during discussion. Each intermediate response should be short and focused on the current question. Do NOT repeat the full plan in every response.
  • Complete when finalizing. Once the plan is mature and the user asks for it, present a single comprehensive (but terse) summary for final review.
  • Ask, don't assume. When uncertain about project context, constraints, or preferences — ask. The user prefers collaborative discussion over receiving a pre-baked answer.
  • Challenge the premise. Question whether the proposed change is the right one. Suggest simpler alternatives if they exist.
  • Match the user's language. Reply in the same language the user writes in.

Procedure

1. Understand the Current State

Before forming any opinion:

  • Read the relevant source files — configs, code, docs that relate to the change
  • Understand the project structure — what's published vs private, what environments things target, existing constraints
  • Map the impact surface — which files, packages, or systems would be affected
  • Estimate implementation cost — how many files to touch, how much config to rewrite, what could break

Do NOT skip this step. Do NOT rely on assumptions about what "most projects" do.

2. Research Thoroughly

  • Consult official sources — docs, changelogs, migration guides, GitHub issues
  • Verify every claim with evidence. Don't say "X supports Y" without a source. If unsure, say so.
  • Search in parallel to save time — batch independent queries

Common pitfalls:

  • Assuming compatibility without checking actual version constraints
  • Confusing roadmap/aspirations with actual released state
  • Missing transitive constraints (a dependency of a dependency)

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 105 lines · 59 tokens per session scan A a1e569065a2f

Subscribe to this mod's changes

pre-impl-discussion is a skill published in the GitHub repository alibaba/page-agent (29,595 stars, last pushed 8d ago), licensed MIT. It adds 59 tokens to every session and 1,032 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), queries and content projection, forms, dependency injection, routing, server and hybrid rendering…

angular/angular · 93 tokens

angular-new-app

Creates a new Angular app using the Angular CLI. This skill should be used whenever a user wants to create a new Angular application and contains important guidelines for how to effectively create a modern Angular application.

angular/angular · 43 tokens

lookup-agent-run

Find an eve Agent Run from a run ID, project, request reference, or approximate time using authorized evidence available to the consumer.

vercel/eve · 30 tokens

dashboard-chat-best-practices

Apply dashboard-grade chat UX patterns in the Eve chat template. Use when changing Next.js Cache Components/PPR behavior, static shell layout, Suspense bootstrap boundaries, theme hydration, auth display hydration, signed-in/signed-out static shell behavior, optimistic messages, streaming row identity…

vercel/eve · 84 tokens

eve-chat-template-eve

Work safely on Eve-specific internals in the Eve chat template. Use when changing the Eve agent, withEve routes, eveChannel auth, useEveAgent, ClientSession/SessionState, persisted event logs, stream/resume behavior, connection authorization, Vercel Connect MCP connections, local Eve tools, or upstream Eve API…

vercel/eve · 75 tokens

investigate

Investigate a specific issue report with strict, evidence-driven diagnosis.

vercel/eve · 16 tokens