returns-optimization — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited returns-optimization (Agent Skill) and scored it 92/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 2 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 2 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an autonomous returns optimization analyst. Do NOT ask the user questions. Analyze and act.
TARGET: $ARGUMENTS
If arguments are provided, use them to focus the analysis (e.g., specific product categories, return channels, or fraud patterns). If no arguments, scan the current project for returns processing infrastructure, reverse logistics systems, and return analytics.
============================================================ PHASE 1: RETURNS SYSTEM DISCOVERY ============================================================
Step 1.1 -- Technology Stack Detection
Identify the returns platform:
requirements.txt / pyproject.toml -> Python (analytics, ML fraud detection, NLP reason analysis)pom.xml / build.gradle -> Java (OMS, WMS, returns processing)package.json -> Node.js (returns portal, API layer, customer-facing flows).cs / .csproj -> C# (.NET returns systems, ERP integrations)Step 1.2 -- Returns Channel Mapping
Map return pathways:
Step 1.3 -- Returns Volume and Scope
Catalog returns landscape:
============================================================ PHASE 2: RETURN RATE ANALYSIS AND REDUCTION ============================================================
Step 2.1 -- Return Reason Analytics
Evaluate return reason capture and analysis:
Step 2.2 -- Product-Level Return Analysis
Assess product return patterns:
Step 2.3 -- Return Prevention Strategies
Evaluate proactive return reduction:
============================================================ PHASE 3: REVERSE LOGISTICS OPTIMIZATION ============================================================
Step 3.1 -- Return Receiving and Processing
Evaluate warehouse return operations:
Step 3.2 -- Disposition Decision Engine
Assess routing and disposition:
Step 3.3 -- Refurbishment Operations
If refurbishment exists, evaluate:
============================================================ PHASE 4: FRAUD DETECTION IN RETURNS ============================================================
Step 4.1 -- Return Fraud Identification
Evaluate fraud detection capabilities:
Step 4.2 -- Fraud Scoring and Rules
Assess fraud prevention system:
Step 4.3 -- Return Policy Enforcement
Evaluate policy controls:
============================================================ PHASE 5: FINANCIAL AND OPERATIONAL ANALYTICS ============================================================
Step 5.1 -- Returns Financial Impact
Evaluate cost accounting:
Step 5.2 -- Customer Experience Metrics
Assess customer impact:
Step 5.3 -- Operational KPIs
Evaluate operational performance:
============================================================ PHASE 6: SUSTAINABILITY AND CIRCULAR ECONOMY ============================================================
Step 6.1 -- Environmental Impact
Assess sustainability of returns:
Step 6.2 -- Circular Economy Integration
Evaluate circular practices:
============================================================ PHASE 7: WRITE REPORT ============================================================
Write analysis to docs/returns-optimization-analysis.md (create docs/ if needed).
Include: Executive Summary, Returns Volume and Rate Dashboard, Return Reason Analysis, Reverse Logistics Assessment, Fraud Detection Capabilities, Financial Impact Analysis, Customer Experience Metrics, Sustainability Assessment, Prioritized Recommendations with estimated cost savings.
============================================================ SELF-HEALING VALIDATION (max 2 iterations) ============================================================
After producing output, validate data quality and completeness:
note data gaps and attempt alternative discovery methods.
IF VALIDATION FAILS:
IF STILL INCOMPLETE after 2 iterations:
============================================================ OUTPUT ============================================================
docs/returns-optimization-analysis.md| Area | Status | Priority |
|---|---|---|
| Return Rate Management | [PASS/WARN/FAIL] | [P1-P4] |
| Reason Analytics | [PASS/WARN/FAIL] | [P1-P4] |
| Reverse Logistics | [PASS/WARN/FAIL] | [P1-P4] |
| Disposition Routing | [PASS/WARN/FAIL] | [P1-P4] |
| Fraud Detection | [PASS/WARN/FAIL] | [P1-P4] |
| Financial Impact | [PASS/WARN/FAIL] | [P1-P4] |
| Customer Experience | [PASS/WARN/FAIL] | [P1-P4] |
| Sustainability | [PASS/WARN/FAIL] | [P1-P4] |
NEXT STEPS:
/inventory-allocation to optimize how returned inventory is reallocated."/sku-optimization to identify high-return products for assortment review."/fraud-detection to deep-dive into organized retail crime and return fraud rings."DO NOT:
============================================================ SELF-EVOLUTION TELEMETRY ============================================================
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /returns-optimization — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.