agentleFS
SidekicksStudioSidekicksStudio/marketing-agency-in-a-box/skills/client-context/SKILL.md

client-context

Skill2 starsChanged 7 months agoMITView on GitHub

Load, switch, and manage context for a specific client. This is the foundational skill for multi-client agency operation — always run this first before any other skill when working on a client project. Trigger phrases: "load [client name]," "switch to [client]," "we're working on [client] now," "set up a new client," "create a client file," "which client are we on," "client context," "show me the clients," "list clients," "I need to work on [client name]." Every other skill depends on this one being loaded.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All client files live under .agents/clients/:

    line 22
  2. Distinctive:

    When the user says "load [client]" or "we're working on [client] now":

    line 42
  3. Very specific:

    Check if .agents/clients/[client-slug]/ exists

    line 44
  4. Very specific:

    If yes — read product-marketing.md and active-campaigns.md from that directory.

    line 45
  5. Distinctive:

    If no — offer to create a new client file (see below)

    line 46
  6. Distinctive:

    When the user says "set up a new client" or "create a client file for [name]":

    line 54
  7. Distinctive:

    Ask the following — or pre-fill from anything already provided:

    line 56
  8. Distinctive:

    When the user says "list clients" or "show me the clients":

    line 128
  9. Very specific:

    Read the contents of .agents/clients/ and list each folder with:

    line 130
  10. Distinctive:

    When work is completed, significant decisions are made, or results come in — update the relevant client file immediately.

    line 139
  11. Very specific:

    After any deliverable: Add an entry to history.md

    line 141
  12. Very specific:

    After a campaign launches: Update active-campaigns.md

    line 142
  13. Very specific:

    After a client call: Update contacts.md with anything new learned

    line 143
  14. Distinctive:

    Every execution skill checks for product context in this order:

    line 150
  15. Distinctive:

    When client-context is loaded correctly, skills pick up context automatically — no re-explaining the client on every task.

    line 155

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Client Context

You are the context manager for a multi-client marketing agency. Before any other work begins, the right client must be loaded. Every skill in this repo assumes a single product context — this skill makes that work across multiple clients by routing to the correct one.

The Problem This Solves

Every execution skill (copywriting, SEO, ads, creator campaigns, etc.) reads from a product context file before doing anything. In a single-product setup that file lives at .agents/product-marketing.md. In an agency with 10 clients, running without this skill means the agent either uses the wrong client's context or asks repetitive questions it should already know.

This skill creates and manages per-client context files and tells the agent which client is currently active.


Client File Structure

All client files live under .agents/clients/:

.agents/
  clients/
    [client-slug]/
      product-marketing.md     # Core context — read by all execution skills
      brand-guidelines.md      # Voice, tone, visual rules, do/don't language
      active-campaigns.md      # What's currently running, goals, budgets
      contacts.md              # Key stakeholders, decision makers, communication prefs
      history.md               # What's been done, results, decisions made
  product-marketing.md         # Legacy single-client path (still supported)

[client-slug] is lowercase, hyphenated. Examples: nike, acme-co, johns-bakery, project-atlas.


Loading a Client

When the user says "load [client]" or "we're working on [client] now":

  1. Check if .agents/clients/[client-slug]/ exists
  2. If yes — read product-marketing.md and active-campaigns.md from that directory. Confirm: "Loaded [Client Name]. Here's what I know: [brief summary of product, current campaigns, last activity]."
  3. If no — offer to create a new client file (see below)

Once a client is loaded, treat their product-marketing.md as the active context for all subsequent skills. Do not switch clients mid-conversation unless explicitly told to.


Creating a New Client

When the user says "set up a new client" or "create a client file for [name]":

Ask the following — or pre-fill from anything already provided:

Client name: 
Slug (for folder name, lowercase-hyphenated): 
Industry: 
Product/service (one sentence): 
Target audience: 
Primary goal for this engagement: 
Key contacts (name, role, email): 
Monthly retainer or project basis: 
Start date: 

Then create the directory and seed these files:

.agents/clients/[slug]/product-marketing.md — filled with what you know, flagged TODOs for missing info

.agents/clients/[slug]/active-campaigns.md — blank template:

# Active Campaigns — [Client Name]
Last updated: [DATE]

## Currently Running
[None yet]

## Upcoming
[None yet]

## On Hold
[None yet]

.agents/clients/[slug]/contacts.md — blank template:

# Contacts — [Client Name]

## Primary Contact
Name: 
Role: 
Email: 
Preferred communication: 
Response time expectation: 

## Decision Maker (if different)
Name: 
Role: 

## Notes

.agents/clients/[slug]/history.md — blank template:

# Engagement History — [Client Name]
Started: [DATE]

## Decisions Made
[Log important decisions here with dates]

## Work Completed
[Log deliverables with dates]

## Results
[Log performance data as it comes in]

Confirm creation and offer to run client-intake to fill out the context properly.


Listing All Clients

When the user says "list clients" or "show me the clients":

Read the contents of .agents/clients/ and list each folder with:

  • Client name (from their product-marketing.md header)
  • Active campaigns count (from active-campaigns.md)
  • Last modified date of any file in their folder

Updating Client Context

When work is completed, significant decisions are made, or results come in — update the relevant client file immediately. Don't let the history go stale.

After any deliverable: Add an entry to history.md After a campaign launches: Update active-campaigns.md After a client call: Update contacts.md with anything new learned After results come in: Log in both history.md and active-campaigns.md


How Other Skills Use This

Every execution skill checks for product context in this order:

  1. .agents/clients/[active-client]/product-marketing.md ← agency multi-client path
  2. .agents/product-marketing.md ← legacy single-client path
  3. .claude/product-marketing.md ← older fallback

When client-context is loaded correctly, skills pick up context automatically — no re-explaining the client on every task.


Confidentiality Note

Each client's files contain proprietary business information. When working in a shared environment or handing off between agents, confirm that client files are not being exposed to the wrong session or user.


Related Skills

  • client-intake: Populate a new client's context files properly after creating the folder structure
  • agency-positioning: Understand what the agency offers before scoping client work
  • client-reporting: Pull from active-campaigns.md and history.md when building reports

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.