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

@ads-repo/project-intelligence-os

v0.1.0

Published

A structured context brain for one advertising client. Scaffolds a folder any AI coding agent (Claude Code, Codex, Cursor, ChatGPT) opens already knowing the business — then onboards it with a single slash command.

Readme

Client Intelligence OS

A structured "brain" for one advertising client/account. Open the folder in any LLM agent (Claude Code, Cursor, Codex, ChatGPT) and it starts every conversation with full account + business context — so the answers to any question are grounded.

This is the core of the whole system. The more context the LLM has, the better it manages the ads. This template is used by everyone:

  • In-house teams / solo managers of one company → use this folder on its own.
  • Agencies → the Agency Intelligence OS wraps many of these (one per client) under clients/. Same OS, just structured for multiple accounts (see Connection below).

What this OS is (and isn't)

This OS is just two things: the context structure + the onboarding. Nothing else. Connectors, credentials, fetch scripts, and reporting tools live separately (the Setup/ folder + their own explainers) so the template stays clean and standardized for any client.

How the context gets built: fetch first, then ask

Onboarding (_setup/onboarding.md) fetches the account reality first via the connectors (Google Ads / Meta / GA — credential-based scripts that live separately in Setup/connectors/): campaign structure, spend, conversion actions, and recent spikes. Then it asks the human only what the data can't tell — how conversions are really tracked (margin vs revenue, primary action), what caused anomalies, and the business context. If the connectors aren't set up, it simply asks. Result: the richest, most standardized client context we can produce, the same way every time.


What you get

A 5-folder brain, deliberately simple:

| Folder | What lives here | Changes | |---|---|---| | 00-context/ | One file per domain: business + unit economics, audience, offer & messaging, channels, measurement & tracking, competitors, creative, constraints, history, operations, tech-stack, naming conventions. | Rarely | | 01-goals-budget/ | North-star (north-star.md), targets (KPIs, guardrails, real-goal mapping — targets.md), budget (budget.md), 90-day roadmap (roadmap.md). | Monthly/quarterly | | 02-reporting/ | Self-contained reports (one folder each: data + script + HTML). | Often | | 03-notes/ | Raw captures (calls, threads). Distilled into 00-context/ via the update ritual. | Constantly | | 04-automations/ | Recurring scripts / scheduled tests (e.g. A/B tests from the AB-Test skill). | As needed |

Plus three front-door files:

  • CLIENT.md — the 5-second identity card.
  • AGENTS.md — short router that tells any agent how to use the folder.
  • CLAUDE.md — one-line stub pointing at AGENTS.md.

Quick start

  1. Create the folder — either run

    npx @ads-repo/project-intelligence-os <your-company>

    or copy template/ and rename it to your client (e.g. acme/). The npx route also wires the onboard-client skill into Claude Code, Codex and Cursor so it's a slash command from the first message.

  2. Open the folder in your LLM agent and say "Run the onboarding." (No account setup needed. If you've connected your accounts via Setup/, it also imports conversion actions, campaigns + spend so you type less.)

  3. It picks a scope (paid-advertising by default, or broader CMO/all-channel), fetches what the accounts and your website already know, then runs a Core interview (~20-25 questions, many pre-filled). ~20-25 min → populated CLIENT.md, all 00-context/ files, goals, budget, roadmap.

  4. Go deeper any time with "deep-dive on <domain>"; after any working session say "Update context" — the one ritual to learn (documented in the client's AGENTS.md §3).

Tiered capture: Core now, Deep-dive later

Every file has a Core ([C]) layer filled at onboarding and a Deep-dive ([D]) layer marked ⬜ deep-dive pending that fills over time — so the brain gets rich without a 90-minute setup.

The facts that make automations smarter

  • 00-context/01-business.mdunit economics (margin, target CAC, profitability requirement) so decisions optimize profit, not just revenue.
  • 00-context/05-measurement.md — every conversion action catalogued + the tracking model (revenue vs margin, primary action, attribution).
  • 01-goals-budget/targets.md — the real goal per campaign / product line / funnel stage (not just the platform's optimization setting).
  • 00-context/12-naming-conventions.md — the naming schema + a machine dictionary so the agent can decode any campaign name and point automations at the right place.

These turn the brain into something an LLM can act on without re-scanning the live account every time.


Connection to the Agency Intelligence OS

The Agency OS keeps one client brain per client under clients/<name>/, all using this exact schema — it embeds a copy of this template/ at clients/_TEMPLATE. The two ship as separate, self-contained downloads and are kept identical by a small sync script in the Agency OS (sync-template.sh), so the schema never drifts (see Agency-Intelligence-OS/clients/README.md).

Keep it detailed but not complicated. Five folders, one ritual, two smart context files. That's the whole system.


Copyright (c) 2026 Tomas Kliment & Denis Capko / adsrepo.com. All rights reserved. See LICENSE for terms — https://www.adsrepo.com/license