Logseq Plugin SDK
logseq/logseq
Build, debug, or review Logseq plugins with the @logseq/libs SDK (TypeScript/JavaScript, iframe/shadow sandboxed).
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PostHog/posthog-js compare-array-bundle-size --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .claude/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .claude/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-sizeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PostHog/posthog-js compare-array-bundle-size --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .agents/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .agents/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PostHog/posthog-js compare-array-bundle-size --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .cursor/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .cursor/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PostHog/posthog-js.git --path .agents/skills/compare-array-bundle-size--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PostHog/posthog-js compare-array-bundle-size --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .gemini/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .gemini/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PostHog/posthog-js compare-array-bundle-sizeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .github/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .github/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PostHog/posthog-js compare-array-bundle-size --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/posthog-js.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/compare-array-bundle-size .opencode/skills/compare-array-bundle-size && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "compare-array-bundle-size" agent skill from https://github.com/PostHog/posthog-js/tree/main/.agents/skills/compare-array-bundle-size into .opencode/skills/compare-array-bundle-size/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compare-array-bundle-size", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
compare-array-bundle-sizeQuickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
Compare Array Bundle Size is an agent skill from PostHog/posthog-js, published by the product's own GitHub organization. Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy. Use when asked about array.js size, bundle-size percentage changes, whether browser SDK changes increased the bundle, or for a fast size check that should not run the production Rollup build.
Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires a posthog-js checkout with dependencies installed.
It sits in Frontend & Design, covering Web performance. It works with PostHog, Git, TypeScript and npm. The repository describes itself as: Send usage data from your web app or site to PostHog, with autocapture.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e75146a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires a posthog-js checkout with dependencies installed.
From compatibility in the SKILL.md frontmatter.
Compare Array Bundle Size loads about 599 tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 277 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 277 words (~599 tokens).
“Use the repository's fast comparison command. Do not run TypeScript compilation, Terser, Rollup, Turbo, or the full build unless the user separately requests production bundle numbers.”
Just SKILL.md in .agents/skills/compare-array-bundle-size of PostHog/posthog-js.
Open the folder on GitHubat commit e75146a
Compare Array Bundle Size next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Compare Array Bundle Size this skillPostHog/posthog-js | 613 | — | ~599 | Automated safety check: Pass | Custom licence | |
| Logseq Plugin SDKlogseq/logseq | 45k | — | ~2.3k | Automated safety check: Pass | AGPL-3.0 | |
| Markbind Typescript MigrationMarkBind/markbind | 158 | — | ~2k | Automated safety check: Pass | MIT | |
| Reduce Bundle Sizekcsujeet/ilamy-calendar | 351 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Release TS SDKaptos-labs/aptos-ts-sdk | 116 | — | ~864 | Automated safety check: Pass | Custom licence | |
| Typescriptccusage/ccusage | 19k | — | ~696 | Automated safety check: Pass | Custom licence |
logseq/logseq
Build, debug, or review Logseq plugins with the @logseq/libs SDK (TypeScript/JavaScript, iframe/shadow sandboxed).
MarkBind/markbind
Complete guide for migrating JavaScript files to TypeScript in the MarkBind project, including the two-commit strategy, import/export syntax conversion, and best practices.
kcsujeet/ilamy-calendar
Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
aptos-labs/aptos-ts-sdk
A skill your agent uses when cutting a release of @aptos-labs/ts-sdk or @aptos-labs/confidential-asset.
ccusage/ccusage
Guides ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage.
tinyfish-io/tinyfish-cookbook
Compare two or more npm packages side by side using live data — downloads, bundle size, GitHub stars, last update, known vulnerabilities, and community sentiment.
PostHog/posthog-js
Author a new PostHog browser extension, or port a posthog-js v1 extension, against the @posthog/browser-common Client/Extension contract.
PostHog/posthog-js
Cross-reference a posthog-js or rrweb change against past incident patterns before writing, reviewing, or merging it.
Works with
Categories
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy. Compare Array Bundle Size is an agent skill from PostHog/posthog-js, published by the product's own GitHub organization.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
Compare Array Bundle Size fits situations like: asked about array.js size; bundle-size percentage changes; whether browser SDK changes increased the bundle; for a fast size check that should not run the production Rollup build.
Run `npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a claude-code`. Or copy the skill folder (.agents/skills/compare-array-bundle-size in PostHog/posthog-js) into .claude/skills/compare-array-bundle-size in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a codex`. Or copy the skill folder (.agents/skills/compare-array-bundle-size in PostHog/posthog-js) into .agents/skills/compare-array-bundle-size in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PostHog/posthog-js --skill compare-array-bundle-size -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compare-array-bundle-size, .gemini/skills/compare-array-bundle-size, .github/skills/compare-array-bundle-size and .opencode/skills/compare-array-bundle-size in your project.
Going by SKILL.md and its folder, Compare Array Bundle Size needs the command-line tools its instructions call (pnpm). Compatibility (from SKILL.md): Requires a posthog-js checkout with dependencies installed..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Compare Array Bundle Size has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 599 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Compare Array Bundle Size: Logseq Plugin SDK (logseq/logseq, 45k stars), Markbind Typescript Migration (MarkBind/markbind, 158 stars), Reduce Bundle Size (kcsujeet/ilamy-calendar, 351 stars) and Release TS SDK (aptos-labs/aptos-ts-sdk, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PostHog (a GitHub organization, an official publisher) maintains it in PostHog/posthog-js, which has 613 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: PostHog/posthog-js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.