All skills
nimrodfisher avatar

/context-packager

@e4e97c5

Efficiently package context for AI-assisted analysis. Use when preparing to work with Claude on analysis, organizing context documents, or structuring prompts for complex analytical tasks.

Use this Skill: https://skilld.dev/gh/nimrodfisher/data-analytics-skills/context-packager

This session only. Nothing lands on disk.

assetscontext_package_template.md

≈690 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Context Package

Session / task name: [short descriptive title]
Created: [YYYY-MM-DD]
Token estimate: [~X,000 tokens]
Quality score: [X / 10]
Model target: [claude-3-sonnet / gpt-4o / other]


TASK

[What you need the AI to do. Be specific: what to analyse, what output you need, any hard constraints.]

Example:

Analyse the churn data in prod.subscriptions and identify the top 3 factors that distinguish customers who churned within 90 days of signup from those who stayed. Produce a ranked list of factors with supporting evidence. Use only data from 2024-01-01 onwards. Output as a Markdown table followed by a short narrative summary.


BUSINESS CONTEXT

[Company/product context, how key metrics are defined, relevant business rules.]

Key metric definitions:

  • Churned: [definition — e.g. subscription cancelled or not renewed within 90 days of expiry]
  • Active: [definition]
  • MRR: [definition]

Business context: [2–3 sentences about the product, customer base, and anything relevant to interpreting the data.]


DATA SCHEMA

[Tables and columns relevant to the task. Include only what's needed.]

-- prod.subscriptions
CREATE TABLE prod.subscriptions (
    subscription_id   VARCHAR,
    customer_id       VARCHAR,
    plan_tier         VARCHAR,   -- free, starter, pro, enterprise
    status            VARCHAR,   -- active, cancelled, expired
    created_at        TIMESTAMP,
    cancelled_at      TIMESTAMP, -- null if not cancelled
    mrr               DECIMAL
);

-- prod.customers
CREATE TABLE prod.customers (
    customer_id       VARCHAR,
    industry          VARCHAR,
    company_size      VARCHAR,   -- SMB, Mid-Market, Enterprise
    signup_source     VARCHAR,
    created_at        TIMESTAMP
);

PRIOR FINDINGS

[Results from previous analyses relevant to this task. Summarise — don't paste full reports.]

  • [e.g. Last quarter's churn analysis found SMB had 2× the churn rate of Enterprise — focus there]
  • [e.g. "Onboarding completion" was identified as a leading indicator of 90-day retention]

CONSTRAINTS

  • [e.g. Only use data from 2024-01-01 onwards — earlier data has schema inconsistencies]
  • [e.g. Exclude free-tier accounts — they are not revenue-bearing]
  • [e.g. Do not make causal claims — this is observational data]

OUTPUT FORMAT

[How you want the response structured.]

  • Format: [Markdown table + narrative / SQL query / bullet points / slide outline]
  • Length: [Concise — under 500 words / detailed — as needed]
  • Terminology: [Use "customer" not "user"; use "$" not "USD"]

Bundle built with scripts/context_bundler.py. Token count verified with scripts/token_counter.py.

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides local utilities for bundling context files and estimating token counts for AI prompts. It is generally safe for its intended purpose but lacks content sanitization, creating a potential surface for indirect prompt injection if malicious external files are included in a bundle.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e4e97c5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 days ago.

Activeupdated 5 months ago

README badge

README badge for nimrodfisher/data-analytics-skills/context-packager