bklit-ui: Skill for Claude Code

.agents/skills/add-x-tweet/SKILL.md

add-x-tweet is a skill for Claude Code, Codex from bklit/bklit-ui. It costs 63 tokens per session (886 once invoked), scanned A, original, MIT.

A workflow for adding testimonials from X, the social network formerly known as Twitter, to the bklit homepage. It reads an X post from its status URL and adds the author, avatar, and text to the site's testimonial data.

In plain words
What is it for?
Use it when given an x.com or twitter.com post URL, or when adding, replacing, prioritising, or reordering homepage testimonials.
Why use it?
It avoids manually copying post details and helps keep the testimonial entry linked to the original post.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is bklit/bklit-ui's own configuration. It tells Claude Code and Codex how to work on bklit-ui 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 bklit-ui configures →

About the project

Bklit UI is an open-source collection of customizable interface components and charts for building React applications with shadcn. Developers use it to add data visualizations such as funnels, gauges, maps, financial charts, and other interactive displays. The catalogue add-ons provide workflows for using its components and chart registry.

bklit/bklit-ui · 1,898 stars · on GitHub · bklit.com

Reuse

Borrowing it

Nothing to install: this file belongs to bklit/bklit-ui. 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/bklit/bklit-ui/main/.agents/skills/add-x-tweet/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bklit/bklit-ui

Made for: Claude Code, Codex.

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 add-x-tweet

README.md
[![agentmods](https://agentmods.dev/badge/skills/bklit/bklit-ui/add-x-tweet/github.svg)](https://agentmods.dev/skills/bklit/bklit-ui/add-x-tweet)
Your own site
<a href="https://agentmods.dev/skills/bklit/bklit-ui/add-x-tweet"><img src="https://agentmods.dev/badge/skills/bklit/bklit-ui/add-x-tweet/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 add-x-tweet

Your own site · 80×15
<a href="https://agentmods.dev/skills/bklit/bklit-ui/add-x-tweet"><img src="https://agentmods.dev/badge/skills/bklit/bklit-ui/add-x-tweet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 27 Oct 2026
  • Snyk warn 27 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 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 MCP Rug Pull · line 70
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Data Exfiltration · line 77
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00063 $0.00886
Opus 5.5 $0.00025 $0.00354
Sonnet 5.5 $0.00013 $0.00177
Haiku 4.5 $0.00006 $0.00089

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

Security

Grade A, and why

add-x-tweet scanned grade A with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch-tweet.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://publish.twitter.com/oembed?url=TWEET_URL&omit_script=1"
.agents/skills/add-x-tweet/SKILL.md · 100 lines

How it starts

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

Add X Tweet Testimonial

Add social proof tweets to the homepage testimonial grid.

When to use

  • User provides one or more https://x.com/.../status/... URLs
  • User asks to replace, prioritize, or reorder testimonials
  • User says "add tweet", "new testimonial", or similar

Workflow

1. Fetch tweet metadata

Run the fetch script from the repo root (requires network):

node .agents/skills/add-x-tweet/scripts/fetch-tweet.mjs "https://x.com/user/status/123..."

For multiple URLs, pass each URL or run once per URL.

The script prints JSON:

{
  "id": "123...",
  "url": "https://x.com/user/status/123...",
  "author": { "name": "...", "handle": "@user", "avatar": "https://pbs.twimg.com/...", "verified": true },
  "content": "tweet text without @uixmat prefix"
}

Fallback: If the script fails, use Twitter oEmbed:

curl -sL "https://publish.twitter.com/oembed?url=TWEET_URL&omit_script=1"

Parse author_name and HTML <p> for text. Avatar still needs fxtwitter or manual profile image URL.

2. Edit apps/web/lib/testimonials.ts

  • Use status id as id (numeric string from URL)
  • Set url to the canonical tweet URL (no query params)
  • Run avatar through twitterAvatarUrl() (normalises any size suffix to _bigger, 73×73: avatars render at 40px)
  • Strip leading @uixmat from content; trim whitespace
  • Shorten very long tweets if they include trailing promo links (keep the praise, drop link-only tails)

3. Ordering rules

Masonry uses CSS columns (top-to-bottom per column). On lg, indices 0–2 = column 1 top 3, 3–5 = column 2 top 3, 6–8 = column 3 top 3.

  • Prioritize when asked: place in the next open slot among indices 0–8 without duplicating ids
  • Replace when asked: remove the old entry (match by handle or old id) before adding the new one
  • Set author.verified from script output (author.verification.verified via FxTwitter)

4. Collapsed grid

The homepage shows testimonialCollapsedCount (6) cards before See more. No change needed when adding tweets unless the user asks to change visible rows.

Read the full file on GitHub · 100 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago Changed 828aeda47d7f
  2. 21d ago Changed · +2 lines a33822859234
  3. 2mo ago First seen · 98 lines · 63 tokens per session scan A 0901150a790c

Subscribe to this mod's changes

add-x-tweet is a skill published in the GitHub repository bklit/bklit-ui (1,898 stars, last pushed 5d ago), licensed MIT. It adds 63 tokens to every session and 886 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-x-tweet compared with skills from other repositories

add-x-tweet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-x-tweetbklit/bklit-uiSkill1.9k5d agoMITA63Claude Code, Codex
add-componentf5/unovisSkill2.9kyesterdayApache-2.0A74Claude Code, Codex
add-gallery-examplef5/unovisSkill2.9kyesterdayApache-2.0A63Claude Code, Codex
commitf5/unovisSkill2.9kyesterdayApache-2.0A90Claude Code, Codex
open-prf5/unovisSkill2.9kyesterdayApache-2.0A67Claude Code, Codex
lieflat-chartslarashero3-dotcom/lieflat-chartsSkill6.7k3d agononeA125Codex
chart-description-writerur-grue/autopunk-media-skillsSkill432mo agoMITA52Claude Code