Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LeoLin990405/r-analytics-skill --skill ldavisgit clone --depth 1 https://github.com/LeoLin990405/r-analytics-skillWrote 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.
[](https://agentmods.dev/skills/leolin990405/r-analytics-skill/ldavis)<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/ldavis"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/ldavis/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.
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/ldavis"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/ldavis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.01140 |
| Opus 5.5 | $0.00010 | $0.00456 |
| Sonnet 5.5 | $0.00005 | $0.00228 |
| Haiku 4.5 | $0.00002 | $0.00114 |
Grade A, and why
LDAvis 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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LDAvis
Interactive visualization of LDA topic models.
Basic Usage
library(LDAvis)
library(topicmodels)
# Fit LDA model first
lda_model <- LDA(dtm, k = 10)
# Create visualization
json <- createJSON(
phi = posterior(lda_model)$terms,
theta = posterior(lda_model)$topics,
doc.length = rowSums(as.matrix(dtm)),
vocab = colnames(dtm),
term.frequency = colSums(as.matrix(dtm))
)
# View in browser
serVis(json)
With topicmodels
library(topicmodels)
library(LDAvis)
# Fit LDA
lda <- LDA(dtm, k = 10, method = "Gibbs",
control = list(seed = 123, iter = 1000))
# Extract components
phi <- posterior(lda)$terms
theta <- posterior(lda)$topics
vocab <- colnames(dtm)
doc_length <- rowSums(as.matrix(dtm))
term_freq <- colSums(as.matrix(dtm))
# Create JSON
json <- createJSON(
phi = phi,
theta = theta,
doc.length = doc_length,
vocab = vocab,
term.frequency = term_freq
)
serVis(json)
Customization
json <- createJSON(
phi = phi,
theta = theta,
doc.length = doc_length,
vocab = vocab,
term.frequency = term_freq,
R = 30, # Number of terms to display
lambda.step = 0.01, # Lambda slider step
mds.method = jsPCA, # MDS method
cluster = NULL, # Cluster topics
reorder.topics = TRUE # Reorder by prevalence
)
Save Visualization
# Save as HTML
serVis(json, out.dir = "lda_vis", open.browser = FALSE)
# Creates:
# - lda_vis/index.html
# - lda_vis/lda.json
# - lda_vis/d3.v3.js
# - lda_vis/ldavis.v1.0.0.js
# - lda_vis/ldavis.v1.0.0.css
With text2vec
library(text2vec)
library(LDAvis)
# Create DTM with text2vec
it <- itoken(texts, preprocessor = tolower, tokenizer = word_tokenizer)
vocab <- create_vocabulary(it)
vectorizer <- vocab_vectorizer(vocab)
dtm <- create_dtm(it, vectorizer)
# Fit LDA
lda_model <- LDA$new(n_topics = 10)
doc_topic_distr <- lda_model$fit_transform(dtm, n_iter = 1000)
# Get components
phi <- lda_model$get_top_words(n = ncol(dtm), lambda = 1)
# ... create visualization
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.
- 2mo ago First seen · 195 lines · 24 tokens per session scan A 20868fac4b74
LDAvis is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (5 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 1,140 once invoked, about $0.0001 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-09-03.
LDAvis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| LDAvisLeoLin990405/r-analytics-skill | Skill | 5 | 2d ago | MIT | A | 24 | Claude Code, Codex |
| netresearch-brandingnetresearch/netresearch-branding-skill | Skill | 4 | 2d ago | none | A | 64 | Claude Code |
| openclaw-design-auditopenclaw/clawhub | Skill | 9.5k | yesterday | MIT | A | 56 | Claude Code, Codex |
| openclaw-designopenclaw/clawhub | Skill | 9.5k | yesterday | MIT | A | 58 | Claude Code, Codex |
| openclaw-brandopenclaw/clawhub | Skill | 9.5k | yesterday | MIT | A | 48 | Claude Code, Codex |
| pm/user-researchechoVic/boss-skill | Skill | 547 | 5d ago | MIT | A | 28 | Claude Code |
| ui-designer/design-variantsechoVic/boss-skill | Skill | 547 | 5d ago | MIT | A | 33 | Claude Code |