contextspy: Context profiler for LLMs and AI agents - used to introspect context contents and reduce token costs

by RimantasZ · Agent Tool · ★ 93

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install contextspy

brew install contextspy

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: CAUTION · quality 65/100

Flagged: sudo usage. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

agentic-aiai-toolscontext-engineeringllmllm-toolsprofiler

Quick Facts

Stars93
Forks5
LanguagePython
CategoryAgent Tool
LicenseApache-2.0
Quality Score65/100
Open Issues45
Last Updated2026-11-26
Created2026-05-03
Platformspython
Est. Tokens~16k

About contextspy

Quick start | Motivation | What's new | Install guide | Coding agent setup | FAQ | Supported agents ContextSpy is a context window profiler for large language models and common agentic AI coding tools. It is used to intercept requests to an LLM API, analyze and visualize prompt composition, and track context changes between multiple requests in the same session. Modern AI coding agents (Gi

Compatible Skills

These tools work well together with contextspy for enhanced workflows:

  • fieldflow — semantic(0.23)+complementary+same_lang+similar_pop+shared_platform (58%)
  • navigator — semantic(0.23)+complementary+same_lang+similar_pop+shared_platform (58%)

contextspy alternative? Top 6 similar tools

Looking for a contextspy alternative? If you're comparing contextspy with other agent tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • agentic-ai-engineering by agenticloops-ai · ⭐ 394

    Hands-on tutorials for building AI agents from scratch. Learn LLM APIs, prompt engineering, tool calling, and

  • navigator by alekspetrov · ⭐ 232

    Finish What You Start — Context engineering for Claude Code. Sessions last 20+ exchanges instead of cr

  • aiwg by jmagly · ⭐ 232

    Reusable project context and specialist workflows for the AI tools you already use. Agents, skills, rules and

  • gopher-mcp by GopherSecurity · ⭐ 156

    C++ MCP SDK - build Model Context Protocol (MCP) servers and clients in C++ / CPP. Enterprise-grade security,

  • oxylabs-mcp by oxylabs · ⭐ 105

    Official Oxylabs MCP integration

  • generator by context-hub · ⭐ 344

    CTX: a tool that solves the context management gap when working with LLMs like ChatGPT or Claude. It helps dev

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

Recently added Agent Tool tools

The newest pages in this category on Agent Skills Hub:

More from the catalog

A different selection from across Agent Skills Hub every day:

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Agent Tool tools

Every skill page, A–Z · Every security audit, A–Z