set-context

set-context is a command for Claude Code from abinauv/business-consulting. It costs 25 tokens per session (519 once invoked), scanned A, original, MIT.

A command that stores information about a client, such as its industry, size, location, business model, products, and other important facts. Later analyses use that information as background.

In plain words
What is it for?
Use it before analysing a client so market research, competitor comparisons, financial measures, strategy work, benchmarks, and deliverables are tailored to that organisation.
Why use it?
It removes the need to repeat the same company details in every research, comparison, financial, or strategy request.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the business-consulting plugin — 16 skills, 24 commands shipped together

Good fit Use it before analysing a client so market research, competitor comparisons, financial measures, strategy work, benchmarks, and deliverables are tailored to that organisation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/abinauv/business-consulting/set-context
Install

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.

Clone the repo
git clone --depth 1 https://github.com/abinauv/business-consulting

Made for: Claude Code.

Or install business-consulting, the plugin that ships this one along with the rest of its 16 skills, 24 commands.

Wrote 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.

agentmods badge for set-context

README.md
[![agentmods](https://agentmods.dev/badge/commands/abinauv/business-consulting/set-context/github.svg)](https://agentmods.dev/commands/abinauv/business-consulting/set-context)
Your own site
<a href="https://agentmods.dev/commands/abinauv/business-consulting/set-context"><img src="https://agentmods.dev/badge/commands/abinauv/business-consulting/set-context/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.

agentmods 80×15 button for set-context

Your own site · 80×15
<a href="https://agentmods.dev/commands/abinauv/business-consulting/set-context"><img src="https://agentmods.dev/badge/commands/abinauv/business-consulting/set-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00519
Opus 5.5 $0.00010 $0.00208
Sonnet 5.5 $0.00005 $0.00104
Haiku 4.5 $0.00003 $0.00052

Measured 3mo ago against content hash 9c7d22a8cc4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

set-context 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 3mo 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.

commands/set-context.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Set Client Context

Store the following client context for use in all subsequent skill invocations and commands.

Instructions

Parse the information provided in $ARGUMENTS and extract:

  1. Client name: The company or organization name
  2. Industry: Primary industry / sub-sector
  3. Company size: Revenue, employee count, or other size indicator
  4. Geography: Headquarters location and operating regions
  5. Business model: How the company makes money (SaaS, marketplace, manufacturing, services, etc.)
  6. Key products/services: Primary offerings
  7. Key facts: Any additional context (ownership, stage, recent events)

Context Application

Once set, automatically apply this context in all subsequent analyses:

  • Market research: Focus on the client's specific industry and geography
  • Competitive analysis: Compare against competitors in the client's market
  • Financial analysis: Use industry-appropriate metrics and benchmarks
  • Strategy frameworks: Tailor framework selection to the client's situation
  • Benchmarking: Select peers of similar size, industry, and geography
  • Deliverables: Use client name in headers, tailor language to the client's industry

Industry Overlay Selection

Based on the industry identified, automatically load the relevant industry overlay from references/industry-overlays/:

  • Technology / SaaS → technology-saas.md
  • Healthcare → healthcare.md
  • Financial Services → financial-services.md
  • Consumer / Retail → consumer-retail.md
  • Industrial / Manufacturing → industrial-manufacturing.md

If the client's industry doesn't match one of the above, note which overlay is the closest fit and adapt accordingly.

Output

After parsing, confirm the stored context by displaying:

CLIENT CONTEXT SET
━━━━━━━━━━━━━━━━━
Client:        [Name]
Industry:      [Industry / Sub-sector]
Size:          [Revenue / Employees]
Geography:     [HQ + Operating Regions]
Business Model: [Model type]
Key Products:  [Products/Services]
Industry Overlay: [Which overlay applies]
━━━━━━━━━━━━━━━━━
This context will be applied to all subsequent analyses.
Use /set-context again to update.

Read the full file on GitHub · 64 lines

Changes

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.

  1. 3mo ago First seen · 64 lines · 25 tokens per session scan A 9c7d22a8cc4a

Subscribe to this mod's changes

set-context is a command published in the GitHub repository abinauv/business-consulting (48 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 519 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-08-30.

Related

set-context compared with commands from other repositories

set-context next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
set-contextabinauv/business-consultingCommand481mo agoMITA25Claude Code
diagnose-underperformermarkifact/markifact-mcpCommand5912d agoMITA70Claude Code, Cursor
edit-meta-creativemarkifact/markifact-mcpCommand5912d agoMITA93Claude Code, Cursor
negative-keyword-sweepmarkifact/markifact-mcpCommand5912d agoMITA56Claude Code, Cursor
rotate-creativemarkifact/markifact-mcpCommand5912d agoMITA57Claude Code, Cursor
launch-google-searchmarkifact/markifact-mcpCommand5912d agoMITA56Claude Code, Cursor
launch-meta-campaignmarkifact/markifact-mcpCommand5912d agoMITA41Claude Code, Cursor