Agent Skills: let Claude Code, Cursor or Codex add the AI chat for you
With Agent Skills, Claude Code, Cursor or Codex can add an AI chat to your site in one session: five TensorPass skills, two MCP servers and one prompt install the chat, connect your tools and harden it.
Published on
With Agent Skills, Claude Code, Cursor or Codex can add an AI chat to your site in one session: five TensorPass skills, two MCP servers and one prompt of about 45 words install the chat, connect your tools and harden it. The answers then run on each visitor's own AI account, so the chat adds no inference bill to your server. A skill is a folder holding a SKILL.md file that the agent loads when your request matches its description. This page lists what each skill writes into your repo, the commands that connect the docs and account servers, the prompt, and the checks to run on the diff before you merge.
Key takeaways:
- An Agent Skills
nameholds at most 64 characters and itsdescriptionat most 1,024; the agent reads about 100 tokens of metadata per skill at startup.- TensorPass serves five skills at
/.well-known/agent-skills/index.json, each listed with a SHA-256 digest of what it serves.- The docs MCP server at
https://tensorpass.app/mcpneeds no sign in; the account server athttps://plan.tensorpass.app/mcpissues the site key, which starts withtpk_.- The hardening skill's pen test runs about 30 model conversations in English, French and Hebrew.
What a coding agent changes in your repo, and who pays for the answers
A skill pack decides two things for your site: which widget lands in your layout and whose account pays for each answer. The first page of results for this search holds vendor packs and directories. The asyntai/agent-skills repository ships 2 skills: one adds the Asyntai widget to your layout file, the other connects the Asyntai MCP server at https://asyntai.com/mcp to read conversations and reply to visitors. Its README asks you to create a free account and says nothing about who pays for inference. The VoltAgent awesome-agent-skills directory lists more than 1,000 skills from vendors and the community, with no end to end recipe for a website chat.
| Skill source | Skills | What lands in your repo | Who pays for each answer |
|---|---|---|---|
| asyntai/agent-skills | 2 | Asyntai widget, managed through the Asyntai MCP server | Not stated in the README |
| VoltAgent awesome-agent-skills | 1,000+ listed | Depends on the skill you pick | Depends on the skill |
| tensorpass/aiconnect skills | 5 | AI Connect packages, your MCP route, guards | The visitor's own AI account |
Where Agent Skills (Claude Code, Cursor, Codex) live in the repo
The three agents read the same open format, published at agentskills.io. Claude Code loads project skills from .claude/skills/<skill-name>/SKILL.md. Codex scans .agents/skills in every directory from your working directory up to the repository root. Cursor reads .cursor/skills/ and .agents/skills/, and loads .claude/skills/ and .codex/skills/ for compatibility. Each agent shows only the name and description until a task matches; the specification recommends keeping the SKILL.md body under 5,000 tokens and 500 lines. Simon Willison described the overhead on his blog on 16 October 2025: "each skill only takes up a few dozen extra tokens". He added: "I expect we'll see a Cambrian explosion in Skills which will make this year's MCP rush look pedestrian by comparison."
Five Agent Skills (Claude Code, Cursor, Codex) and what each one writes
The TensorPass skills are open source in the skills folder of the AI Connect repository, and npx skills add tensorpass/aiconnect installs all five. The first four build the chat; aiconnect-auth matters once your MCP server serves signed in tools.
- aiconnect-integrate. Installs
@tensorpass/aiconnectand@tensorpass/aiconnect-react, wraps the app inAiConnectProvider, writesNEXT_PUBLIC_TENSORPASS_SITE_KEYto.env.localand.env.example, and addsapp/aiconnect/callback/page.tsxon Next.js. Existing OpenAI SDK code keeps its calls and moves to the browser throughclient.sdkOptions; the server route and its API key are deleted. - aiconnect-mcp-tools. Turns your API or OpenAPI file into tools served at a path such as
/api/mcp, stateless over Streamable HTTP. Itsmcp-check.mjsscript calls each tool from acalls.jsonfile and fails on any design finding. Three to eight tools cover most sites. - aiconnect-rag-chatbot. Adds
lib/ai/siteIndex.mjs,scripts/build-index.mjsandapp/api/mcp/route.tswith two tools,search_siteandread_page. The index is BM25 over passages cut at headings, committed as JSON; a search returns at most 8 passages of 700 characters. The full walkthrough sits in the RAG chatbot skill in depth. - aiconnect-hardening. Copies
chatPolicy.mjsandrateLimit.mjsintolib/ai/, caps MCP request bodies at 16 KB, and turns on salted envelopes and a question guard with 18 injection patterns.pentest.mjsruns in three modes: unit, MCP and model. - aiconnect-auth. Hardens your login before the MCP server serves signed in or staff tools, and migrates live users.
Agent Skills, Claude Code and two MCP servers: the one-session setup
The docs MCP server answers over Streamable HTTP at https://tensorpass.app/mcp, needs no sign in and only reads the docs. Its three tools are search_docs, read_doc and list_docs, and it lists the skills as resources, so a connected agent reads them without installing anything.
claude mcp add --transport http aiconnect-docs https://tensorpass.app/mcp
claude mcp add --transport http tensorpass https://plan.tensorpass.app/mcp
npx skills add tensorpass/aiconnectThe second line adds the account MCP server. It uses the OAuth flow of the MCP specification: the agent registers itself, a browser opens on the TensorPass sign in, and you approve once. Its create_site_key tool takes your domain and returns a key starting with tpk_, with the file it belongs in for your stack. The key is public, like a publishable key, and works on http://localhost at any port. An agent without an MCP client runs the aiconnect command instead, npx @tensorpass/aiconnect site-key example.com, which signs you in through the browser and times out after 10 minutes. The key is optional: the wallet path and the OpenRouter sign in need none.
With the servers and skills in place, this prompt does the job in one session:
Use the aiconnect skills to add an AI chat to this Next.js site. Create the site key for example.com with the tensorpass MCP server. Serve our product search and pages as MCP tools at /api/mcp. Then apply aiconnect-hardening, run its pen test, and stop before committing.
Your tools decide what the chat can do; MCP tools for your site covers the schemas and the hosting bill. A Claude Code plugin is on our roadmap and is not available on 25 November 2026; the skills and the two servers are the route today.
How TensorPass supports a coding agent on your site
The page Use with AI agents holds each command above, a tab per agent, and the Markdown copies of every docs page at /llms.txt.
Free components. The AI Connect SDK, the Agent Skills, the MCP servers, AI Wallet and the site key are free. A visitor with no AI account can take the TensorPass plan at US$5, US$20 or US$50 a month, paid by the visitor, and your site earns 5% of each plan payment made from its AI window for 12 months, with a 60-day hold, paid in USDC once US$50 is available.
Open source release. The SDK is under Apache 2.0, public on GitHub since 12 November 2026; its four packages are on npm under the @tensorpass scope since 16 November 2026, with provenance signed by the GitHub build.
Done for you. We make a site AI native in under 24 hours, priced on quote, when you prefer not to run the session yourself.
For a site that needs another install path, every install route for AI chat compares the script tag, npm, WordPress and Shopify.
Seven checks on the diff before you merge
The prompt stops before committing so that you read the diff first. Run these checks in order.
- No provider key left. Search the diff for
OPENAI_API_KEYand any route that calls a model from your server; the integrate skill deletes both. - Site key in the right file.
NEXT_PUBLIC_TENSORPASS_SITE_KEYsits in.env.localand.env.example, with a value starting withtpk_. - Read only tools. Each tool returns public fields listed by name and carries
readOnlyHint: trueunless it acts for a signed in visitor. - Bounded inputs. Every schema input has a limit, and no tool accepts a URL from the model.
- Rate limit and body cap.
rateLimit.mjsguards/api/mcp, and requests above 16 KB are refused. - Pen test output.
pentest.mjs --unitand--mcppass, and the MCP burst returns a 429; the hardening checks to run adds the manual cases. - A manual test in Chrome. With AI Wallet installed, a sample question gets an answer and a pasted attack gets the safe answer.
The guards reduce the risk of prompt injection and do not remove it. When the seven checks pass, merge, deploy, and keep the skills folder in the repo so the next session with Agent Skills, Claude Code or Codex starts from the same instructions.
Also worth reading:
- Every install route for AI chat on a website
- MCP tools for your site's AI chat
- The RAG chatbot skill in depth
- The hardening checks to run before launch
Sources:
- Use with AI agents : TensorPass docs, November 2026
- Site key quickstart : TensorPass docs, November 2026
- AI Connect skills folder : TensorPass on GitHub, November 2026
- Agent Skills specification : agentskills.io, consulted 25 November 2026
- asyntai/agent-skills : Asyntai on GitHub, consulted 25 November 2026
- awesome-agent-skills : VoltAgent on GitHub, consulted 25 November 2026
- Extend Claude with skills : Anthropic, Claude Code docs, consulted 25 November 2026
- Agent Skills : Cursor docs, consulted 25 November 2026
- Build skills : OpenAI, Codex docs, consulted 25 November 2026
- Claude Skills are awesome, maybe a bigger deal than MCP : Simon Willison, 16 October 2025