npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@eliya-oss/agent-figma

v0.1.0-alpha.7

Published

Read Figma context from the command line for humans and AI agents.

Downloads

85

Readme

agent-figma

Read your Figma files from the command line: files, nodes, comments, versions, rendered images, components, and styles. Built so your AI agents can read Figma too. Short alias: afg.

Usage

You run two commands, once:

agent-figma auth login --token "$FIGMA_TOKEN"
npx skills add Newbie012/agent-figma --skill agent-figma

Then you ask your agent, and it runs the rest:

Build the spend panel from this Figma link: https://www.figma.com/design/…?node-id=67307-140172

agent-figma describe --json
agent-figma node get FIGMA_NODE_URL --json
agent-figma node compare FIGMA_NODE_URL --code src/components/Panel.tsx --json
agent-figma file comments list FIGMA_URL --format ndjson

describe is the whole command catalog, so nothing has to be learned from prose. Every command answers one compact JSON line on stdout; failures go to stderr as {"ok":false,"error":{…}} with a type, a suggestion, and an exit code. Non-TTY stdout defaults to JSON, so a piped command needs no flag.

Looking around yourself

The CLI reads its own surface back to you, so there is nothing to memorise:

agent-figma --help                # every command, grouped by what it is for
agent-figma node get --help       # one command: usage, flags, endpoint, scopes
agent-figma node get URL --format tree
agent-figma upgrade               # upgrades, using whatever installed it

--format tree and node compare are the two outputs made for a person rather than a parser: a frame as one line per node, and what the design asks for that your code never mentions.

Notes

Every command is read-only: only GET requests, and api call resolves through a bundled GET-only catalog. It returns only what the active token, its scopes, sharing, plan and seat allow.

Browser OAuth works if you register a Figma app and host the relay in apps/oauth-relay yourself: Authentication.

An alpha: every version is named one, 0.1.0-alpha.3 and counting, and latest is whichever is newest. Docs are in docs/, project contracts in .agents/.

License

MIT

Sponsors