openrouter-compliance-review
Review OpenRouter integration for regulatory compliance (SOC2, GDPR,
juicebox-observability
Set up Juicebox monitoring.
Full skill instructions
Juicebox provides AI-powered people search and analysis where query performance, dataset ingestion rates, and quota consumption are the primary observability concerns. Monitor analysis completion times to ensure interactive UX, track ingestion pipeline health for data freshness, and watch quota usage to prevent mid-workflow cutoffs. Slow queries or failed ingestions degrade recruiter productivity and data accuracy.
| Metric | Type | Target | Alert Threshold |
|---|---|---|---|
| Search latency p95 | Histogram | < 2s | > 5s |
| Analysis completion time | Histogram | < 10s | > 30s |
| Dataset ingestion rate | Gauge | > 100 records/s | < 50 records/s |
| API error rate | Gauge | < 1% | > 5% |
| Quota usage (daily) | Gauge | < 70% | > 85% |
| Query result relevance | Gauge | > 80% precision | < 60% |
async function trackJuiceboxCall(operation: string, fn: () => Promise<any>) {
const start = Date.now();
try {
const result = await fn();
metrics.histogram('juicebox.api.latency', Date.now() - start, { operation });
metrics.increment('juicebox.api.calls', { operation, status: 'ok' });
return result;
} catch (err) {
metrics.increment('juicebox.api.errors', { operation, error: err.code });
throw err;
}
}
async function juiceboxHealth(): Promise<Record<string, string>> {
const searchP95 = await metrics.query('juicebox.api.latency', 'p95', '5m');
const errorRate = await metrics.query('juicebox.api.error_rate', 'avg', '5m');
const quota = await juiceboxAdmin.getQuotaUsage();
return {
search_latency: searchP95 < 2000 ? 'healthy' : 'slow',
error_rate: errorRate < 0.01 ? 'healthy' : 'degraded',
quota: quota.pct < 0.7 ? 'healthy' : 'at_risk',
};
}
const alerts = [
{ metric: 'juicebox.search.latency_p95', condition: '> 5s', window: '10m', severity: 'warning' },
{ metric: 'juicebox.api.error_rate', condition: '> 0.05', window: '5m', severity: 'critical' },
{ metric: 'juicebox.quota.daily_pct', condition: '> 0.85', window: '1h', severity: 'warning' },
{ metric: 'juicebox.ingestion.rate', condition: '< 50/s', window: '15m', severity: 'critical' },
];
function logJuiceboxEvent(event: string, data: Record<string, any>) {
console.log(JSON.stringify({
service: 'juicebox', event,
operation: data.operation, duration_ms: data.latency,
result_count: data.resultCount, query_length: data.queryLen,
// Redact candidate PII — log only aggregate counts
timestamp: new Date().toISOString(),
}));
}
| Signal | Meaning | Action |
|---|---|---|
| 429 rate limit | Quota exhausted for period | Pause queries, check daily allocation |
| Search timeout > 5s | Complex query or service load | Simplify filters, retry with narrower scope |
| Ingestion stall | Dataset too large or format error | Check upload logs, validate schema |
| Empty result set | Index gap or query mismatch | Verify dataset freshness, adjust search params |
See juicebox-incident-runbook.
Review OpenRouter integration for regulatory compliance (SOC2, GDPR,
Data synchronization, ETL patterns, and data management for MaintainX.
Execute Groq primary workflow: chat completions with tool use and JSON
Validate CSRF protection implementations for security gaps. Use when
Configure this skill should be used when the user asks about "API contract",
Execute Ideogram incident response with triage, mitigation, and postmortem.
Execute create, select, and transform features to improve machine learning
Reusable patterns for the Gamma REST API (no SDK exists).
Apply production-ready Deepgram SDK patterns for TypeScript and Python.
Migrate to OpenRouter from direct provider APIs or upgrade between SDK/model
Diagnose and fix common OpenRouter API errors. Use when encountering
Optimize Linear API usage, reduce unnecessary calls, and maximize
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience