Crawler Summary

analyze-and-recommend-third-party-optimizations answer-first brief

Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, auditing dependency health, reviewing hand-rolled code, planning library migrations, assessing capability gaps, or auditing project structure and module organization. --- name: analyze-and-recommend-third-party-optimizations description: >- Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, aud Published capability contract available. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 3/1/2026.

Freshness

Last checked 3/1/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

analyze-and-recommend-third-party-optimizations is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

analyze-and-recommend-third-party-optimizations

Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, auditing dependency health, reviewing hand-rolled code, planning library migrations, assessing capability gaps, or auditing project structure and module organization. --- name: analyze-and-recommend-third-party-optimizations description: >- Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, aud

MCPverified

Public facts

7

Change events

1

Artifacts

0

Freshness

Mar 1, 2026

Verifiededitorial-content1 verified compatibility signal1 GitHub stars

Published capability contract available. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 3/1/2026.

1 GitHub starsSchema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Mar 1, 2026

Vendor

Nebutra

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 3/1/2026.

Setup snapshot

git clone https://github.com/Nebutra/Next-Unicorn-Skill.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Nebutra

profilemedium
Observed Mar 1, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

MCP

contracthigh
Observed Feb 24, 2026Source linkProvenance

Auth modes

mcp, api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Adoption (1)

Adoption signal

1 GitHub stars

profilemedium
Observed Mar 1, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

1

Snippets

0

Languages

typescript

Parameters

Executable Examples

text

Scanner (deterministic)          →  AI Agent (generative)           →  Pipeline (deterministic)
1. Regex: detect hand-rolled code   1. Recommend library replacements    Score, plan, audit,
2. FS: detect code org issues       2. Identify capability gaps          filter, serialize
   (god-dirs, circular deps,        3. Recommend org patterns + tooling
    naming, barrel bloat)            using knowledge + Context7

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, auditing dependency health, reviewing hand-rolled code, planning library migrations, assessing capability gaps, or auditing project structure and module organization. --- name: analyze-and-recommend-third-party-optimizations description: >- Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, aud

Full README

name: analyze-and-recommend-third-party-optimizations description: >- Scan a codebase to identify hand-rolled implementations that should be replaced by third-party libraries, identify missing capabilities, and detect code organization issues (directory structure, naming, circular deps, barrel bloat). Produce structured migration plans with Context7-verified recommendations. Use when analyzing technical debt, auditing dependency health, reviewing hand-rolled code, planning library migrations, assessing capability gaps, or auditing project structure and module organization.

Analyze and Recommend Third-Party Optimizations

Architecture

Scanner (deterministic)          →  AI Agent (generative)           →  Pipeline (deterministic)
1. Regex: detect hand-rolled code   1. Recommend library replacements    Score, plan, audit,
2. FS: detect code org issues       2. Identify capability gaps          filter, serialize
   (god-dirs, circular deps,        3. Recommend org patterns + tooling
    naming, barrel bloat)            using knowledge + Context7

Design constraints:

  • No hardcoded library recommendations — evaluate project context dynamically
  • Two analysis modes: replacement (hand-rolled code found) and gap (capability missing entirely)
  • Human-in-the-loop: 4 gates at irreversible, preference-driven, or costly decision points
  • Language: all output (gates, tables, recommendations, rationale) MUST match the user's input language. If user writes in Chinese, respond in Chinese. If English, respond in English. Never mix.

Gate Protocol

Present structured choices at gates. NEVER skip or proceed without user response.

Format — table of findings/options + lettered choices + your recommendation with 1-sentence rationale. For high-impact gates, add a SWOT table. See references/code-organization-workflow.md for full Gate examples.

Rules:

  • If user says "do it all automatically", ask "confirm skip ALL gates?" first
  • After user decides, execute automatically and report results with rollback instructions

Standard Operating Procedure

Step 1: Validate Input

Parse and validate InputSchema JSON via Zod. Read src/schemas/input.schema.ts for the full schema.

Step 2: Scan Codebase

Run scanCodebase(input). The scanner:

  1. Detect workspace roots for monorepo support
  2. Match code against 30+ domain patterns (i18n, auth, state-management, code-organization, etc.)
  3. Run structural analysis: design system layers (monorepo), code organization (all projects)
  4. Return ScanResult with:
    • detections — hand-rolled code patterns found
    • structuralFindings — architectural + code organization issues
    • codeOrganizationStats — project-wide metrics (file counts, naming conventions, circular dep count)
    • workspaces — monorepo workspace info

Detections and findings contain no recommendations — only facts.

GATE 1: Triage Detections

Why: Each accepted detection costs a Context7 verification call. False positives waste quota.

Present scan results as a triage table with columns: #, Domain, Pattern, File, Confidence, Action. Offer options: (A) accept all, (B) skip specific numbers, (C) high-confidence only. See references/code-organization-workflow.md#gate-1-triage-example for format.

Wait for user response. Proceed with accepted detections only.

Step 2.5: Gap Analysis (AI Agent)

Analyze what the project is missing entirely:

  1. Installed dependencies — low-level tools that should be upgraded to platform-level solutions
  2. Monorepo structure — missing architectural layers (e.g., shared token package, shared config preset)
  3. Cross-cutting concerns — absent capabilities: structured logging, error monitoring, rate limiting, transactional email, type-safe API layer
  4. Architecture patterns — opportunities for multi-package solutions (e.g., design-tokens → tailwind-config → ui)

Analyze at three levels: single library gap, ecosystem gap, architecture gap.

Provide each gap as a GapRecommendation. Read src/index.ts for the interface.

Design system gaps — two paths:

  • No existing frontend: Read references/design-system-sources.md for curated repos and sparse-checkout workflow.
  • Existing frontend: Read references/design-system-extraction.md for extraction workflow, then references/design-system-sources.md for implementation.

Step 2.7: Code Organization Analysis

Phase A — Collect facts (MUST use tools, DO NOT estimate)

You cannot infer file counts, naming conventions, or import cycles from knowledge. You MUST read the filesystem.

If using the npm library — scanResult.structuralFindings and scanResult.codeOrganizationStats already contain all findings. Skip to Phase B.

If not — run the shell commands in references/code-organization-workflow.md#phase-a-shell-commands-for-collecting-facts.

Record each finding with: directory/file path, count, type. These are facts.

Phase B — Recommend solutions (use your knowledge + Context7)

For each finding, apply the MUST do / MUST NOT do decision tree in references/code-organization-workflow.md#phase-b-decision-tree. Do NOT recommend tools without Context7 verification.

For worked examples showing the full Fact → Read → Recommend flow, see references/code-organization-workflow.md#phase-b-worked-examples.

Skip rules — skip a finding if:

  • Directory is in tests/, __tests__/, __mocks__/, fixtures/, generated/, .storybook/
  • File is auto-generated (has // @generated or /* eslint-disable */ at top)
  • Directory has <3 files (too few to judge)

GATE 2: Code Organization Preferences

Why: Organization pattern and naming convention are team preferences, not technical correctness.

Present only if structural findings exist. For each preference, present a SWOT comparison with lettered options. See references/code-organization-workflow.md#gate-2-swot-examples for format.

Wait for user response on each preference. Proceed to Step 3 with confirmed choices.

Step 3: Recommend Solutions (AI Agent)

For each accepted detection, recommend a solution:

  1. Stack coherence — consider how libraries fit the project's overall stack
  2. Ecosystem composition — recommend companion libraries that work together
  3. Rationale — explain WHY this choice fits this project's framework, runtime, and scale
  4. Anti-patterns — what NOT to use and why
  5. Alternatives — different solutions for different architectural contexts
  6. Migration snippet — read the detected code (file path + line range) and generate before/after examples
  7. Context7 verification — call resolve-library-id + query-docs to confirm existence and get latest docs

Read src/index.ts for the LibraryRecommendation interface. Return null to skip a detection.

Skip a detection if:

  • Code has comments explaining why it is custom
  • Detection is in test/mock/fixture files
  • Library is already in project dependencies (suggest version update instead)
  • Hand-rolled code is simpler than the library (3-line utility vs 50KB dep)

GATE 3: Accept/Reject Recommendations

Why: Each recommendation has real migration cost. User may have business, timeline, or architectural reasons to defer or reject.

Present ALL recommendations (replacements + gaps + code org tooling) as a decision table with columns: #, Domain, Replace what, With what, Risk, Files (affected count), Context7, Decision. Offer options: (A) accept all, (B) accept specific, (C) low-risk only, (D) defer all. See references/code-organization-workflow.md#gate-3-recommendation-table-example for format.

Wait for user response. Rejected items are excluded from migration plan, scoring, and PRs.

Step 4–7: Score, Plan, Audit, Serialize

The pipeline handles these automatically:

  • Scoring: confidence-based dimension scores (overridable via dimensionHints)
  • Migration plan: auto-grouped by risk (low/medium/high), sorted by file co-location
  • UX audit: provide via uxAudit option. Evaluate 8 categories (accessibility, error/empty/loading states, form validation, performance feel, copy consistency, design system alignment)
  • Constraints: license allowlist filtering, dependency conflict detection, JSON serialization

Optional Steps

  • Step 8: Vulnerability scan via OSV database (vulnClient)
  • Step 9: Auto-update existing dependencies (registryClient)
  • Step 10: PR auto-creation via GitHub/GitLab (platformClient + gitOps)

GATE 4: Before Irreversible Actions

Why: Creating PRs pushes branches to remote and notifies team members. File migrations modify the codebase. Both are irreversible.

Present only if Step 10 or file migration is about to execute. Show PR table and file migration table with rollback commands. Offer options: (A) execute all, (B) PRs only, (C) migration only, (D) dry run, (E) abort. See references/code-organization-workflow.md#gate-4-execution-confirmation-example for format.

Wait for user response. After execution, report results with rollback instructions.

MCP Integration

Prefer MCP tools when available; fall back to shell commands if not.

  • Context7 MCP (required) — resolve-library-id + query-docs for library verification
  • GitHub MCP (preferred for PRs) — structured PR create/update/query; fallback: gh CLI
  • Git MCP / GitKraken MCP (preferred for scaffold) — structured repo browse/sparse-checkout; fallback: git CLI

Output

Single OutputSchema JSON containing:

  • recommendedChanges — replacement recommendations with scores, verification, adapter strategies
  • gapAnalysis (optional) — missing capabilities with prioritized recommendations
  • filesToDelete — file paths to remove after migration
  • linesSavedEstimate — total lines saved
  • uxAudit — UX completeness checklist (8 categories)
  • migrationPlan — phased plan with deletion checklist
  • vulnerabilityReport (optional)
  • updatePlan (optional)
  • pullRequests (optional)

Read src/schemas/output.schema.ts for the full schema.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

mcp, api_key

Streaming

No

Data region

global

Protocol support

MCP: verified

Requires: mcp, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Protocol support is explicitly confirmed in contract metadata.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract"
curl -s "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Ard RegistryUpdated 0h agoRank 94

ShortlistLens

Structured website and review evidence for AI-assisted local-business shortlisting.

MCPmcpmcp-registry
Ard RegistryUpdated 0h agoRank 94

Inferventis MCP Server

Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.

MCPmcpmcp-registry
Ard RegistryUpdated 0h agoRank 94

io.github.Deesmo/arch-tools-mcp

63 production tools for AI agents — one API key, pay per call in USDC (x402) or Stripe credits.

MCPmcpmcp-registry
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "mcp",
    "api_key"
  ],
  "requires": [
    "mcp",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": true,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/Nebutra/Next-Unicorn-Skill#input",
  "outputSchemaRef": "https://github.com/Nebutra/Next-Unicorn-Skill#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:45:28.662Z",
  "sourceUpdatedAt": "2026-02-24T19:45:28.662Z",
  "freshnessSeconds": 19554188
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-10-09T03:28:36.904Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "supported",
      "confidenceSource": "contract",
      "notes": "Confirmed by capability contract"
    },
    {
      "key": "codebase",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "results",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "via",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "2",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|supported|contract capability:codebase|supported|profile capability:results|supported|profile capability:via|supported|profile capability:2|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Nebutra",
    "href": "https://github.com/Nebutra/Next-Unicorn-Skill",
    "sourceUrl": "https://github.com/Nebutra/Next-Unicorn-Skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-03-01T06:05:20.130Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "1 GitHub stars",
    "href": "https://github.com/Nebutra/Next-Unicorn-Skill",
    "sourceUrl": "https://github.com/Nebutra/Next-Unicorn-Skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-03-01T06:05:20.130Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:28.662Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "mcp, api_key",
    "href": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:28.662Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/Nebutra/Next-Unicorn-Skill#input",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:28.662Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/nebutra-next-unicorn-skill/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to analyze-and-recommend-third-party-optimizations and adjacent AI workflows.