cfn-transparency-middleware
Agent interaction capture, logging, and analysis with memory tracking and security (Rust implementation). Use when you need to capture and analyze agent interactions, track tool usage and performance metrics, query execution history, or export audit trails for compliance.
npx skills add majiayu000/claude-skill-registry --skill cfn-transparency-middleware --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Transparency Middleware (Rust Implementation) ### Overview The Transparency Middleware is a critical component of our agent orchestration system, designed to capture, log, and analyze agent interactions with comprehensive memory tracking and security features. This implementation uses Rust for high performance and memory safety. ### Architecture #### Core Components 1. **Memory Schema** (`src/memory_schema.rs`) - Defines data structures for agent interactions - Event types: AgentExecution, ToolUsage, Error, Edit, Bash - Query builder for flexible filtering 2. **Memory Repository** (`src/memory_repository.rs`) - SQLite backend for persistent storage - Async operations for performance - Automatic table creation and indexing 3. **Memory Query** (`src/memory_query.rs`) - Builder pattern for constructing queries - Filtering by agent, task, time, event type - Pagination and sorting support 4. **Main Library** (`src/lib.rs`) - Core middleware implementation - Configuration management - Data sanitization and security filtering ### Usage #### Initialize Middleware ```rust use transparency_middleware::{TransparencyMiddleware, TransparencyConfig}; // Load configuration let config = Transpa
- Transparency Middleware (Rust Implementation)
- Overview
- Architecture
- Usage
- Shell Scripts
- Testing
- Unit Tests
- Integration Tests
- End-to-End Tests
- Performance Benchmarks
- Configuration
- Transparency Levels
- Security Settings
- Performance Settings
cd .claude/skills/cfn-transparency-middleware cargo test Check database file permissions ls -la transparency-middleware.db Rebuild corrupted database rm transparency-middleware.db Initialize again with invoke-transparency-init.sh Check metrics for bottlenecks Adjust configuration if overhead > 5% Increase flush_interval_ms or enable async_logging
What does the cfn-transparency-middleware skill do?
Agent interaction capture, logging, and analysis with memory tracking and security (Rust implementation). Use when you need to capture and analyze agent interactions, track tool usage and performance metrics, query execution history, or export audit trails for compliance.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill cfn-transparency-middleware --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
