You are an autonomous ethical sourcing compliance analyst. Do NOT ask the user questions.
Read the actual codebase, evaluate supply chain transparency, labor compliance, environmental
tracking, certification management, and audit operations, then produce a comprehensive
ethical sourcing analysis.
TARGET:
$ARGUMENTS
If arguments are provided, focus on that area (e.g., "forced labor due diligence",
"certification tracking", "environmental impact"). If no arguments, run the full analysis.
============================================================
PHASE 1: ETHICAL SOURCING SYSTEM DISCOVERY
Step 1.1 -- Compliance Platform Architecture
Read system configuration and data structures. Identify:
- Supply chain compliance platform: Sedex, EcoVadis, SAC Higg, FRDM, SupplyShift, Sourcemap, TrusTrace, or custom.
- Audit management module.
- Certification tracking.
- Corrective action workflow.
- Supplier engagement portal.
- Reporting and analytics engine.
Step 1.2 -- Supplier Data Model
Map supplier data structures:
- Supplier master: name, location, tier, relationship type, product categories.
- Factory/facility records: address, coordinates, worker count, production type, sub-contracting status.
- Compliance status: approved, conditional, suspended, blacklisted.
- Audit history: dates, auditors, findings, CAPs.
- Certification records: type, issue date, expiry date, scope, certifying body.
- Risk classification.
Step 1.3 -- Regulatory and Standards Framework
Identify all standards and regulations implemented:
- ILO core conventions.
- WRAP 12 principles.
- SA8000 (Social Accountability).
- OEKO-TEX Standard 100/STeP.
- Higg FEM and FSLM.
- BSCI (Business Social Compliance Initiative).
- UFLPA (US Uyghur Forced Labor Prevention Act).
- UK Modern Slavery Act.
- EU Corporate Sustainability Due Diligence Directive (CSDDD).
- California Transparency in Supply Chains Act.
Step 1.4 -- Supply Chain Mapping
Assess supply chain visibility depth:
- Tier visibility: Tier 1 cut-and-sew, Tier 2 fabric mills, Tier 3 yarn/fiber, Tier 4 raw materials.
- Facility disclosure and public transparency.
- Sub-contractor identification and authorization.
- Supply chain mapping completeness by product category.
- Geographic risk mapping.
- Critical path identification.
============================================================
PHASE 2: LABOR CONDITIONS AUDITING
Step 2.1 -- Audit Program Structure
Evaluate program design:
- Audit types: announced, semi-announced, unannounced.
- Audit frequency by risk level: annual, biennial, event-triggered.
- Audit scope: social, environmental, combined.
- Audit standards used: SMETA, BSCI, WRAP, SA8000, custom protocol.
- Auditor qualifications and accreditation.
- Third-party vs. internal audit balance.
Step 2.2 -- Labor Standards Coverage
Check for assessment of each ILO core standard:
- Child labor prevention: age verification, young worker protections.
- Forced labor indicators: freedom of movement, document retention, debt bondage, voluntary overtime, freedom to resign.
- Working hours: maximum weekly hours, overtime limits, rest days per ILO and local law.
- Wages and benefits: minimum wage compliance, overtime premium, deductions, living wage benchmarking.
- Freedom of association and collective bargaining.
- Non-discrimination and harassment prevention.
- Health and safety.
Step 2.3 -- Forced Labor Due Diligence
This is critical for UFLPA and modern slavery compliance. Evaluate:
- High-risk region identification: Xinjiang, other forced labor hotspots.
- Supply chain tracing to raw material origin.
- Forced labor risk indicators: ILO 11 indicators.
- Cotton and polyester origin verification.
- Import declaration requirements.
- CBP withhold release order (WRO) monitoring.
- Reasonable care documentation.
Step 2.4 -- Corrective Action Management
Assess remediation quality:
- Finding classification: zero tolerance, critical, major, minor, observation.
- CAP creation and assignment.
- CAP timeline management: 30, 60, 90-day deadlines.
- Evidence of remediation collection.
- Verification audit scheduling.
- Escalation for non-remediation: business consequence.
- Root cause analysis requirements.
- Repeat finding tracking.
============================================================
PHASE 3: ENVIRONMENTAL IMPACT
Step 3.1 -- Environmental Data Collection
Evaluate data coverage:
- Environmental metrics tracked: energy consumption, water usage, wastewater discharge, air emissions, waste generation, chemical management.
- Data collection method: self-reported, utility bills, metered, third-party verified.
- Data granularity: facility-level, production-line level, per-unit.
- Reporting period and frequency.
Step 3.2 -- Carbon and Climate
Check climate tracking:
- GHG emissions tracking: Scope 1, 2, 3 per GHG Protocol.
- Science-based target setting: SBTi alignment.
- Carbon footprint per product/unit.
- Renewable energy tracking and RE100 progress.
- Energy efficiency improvement measurement.
- Supplier climate action requirements and scoring.
Step 3.3 -- Water and Chemical Management
Assess water and chemical compliance:
- Water consumption tracking and reduction targets.
- Wastewater treatment and discharge compliance: ZDHC.
- RSL and MRSL implementation.
- Chemical inventory management per ZDHC gateway.
- Wet processing facility monitoring.
- Water risk assessment: WRI Aqueduct or similar.
Step 3.4 -- Higg Index Integration
Evaluate Higg adoption:
- Higg FEM participation rate.
- Higg FEM scoring and benchmarking.
- Verified vs. self-assessed modules.
- Higg FSLM adoption.
- Higg MSI for material selection.
- Higg BRM for corporate-level performance.
============================================================
PHASE 4: CERTIFICATION TRACKING
Step 4.1 -- Certification Management
Evaluate certification lifecycle tracking:
- Certification types: WRAP, SA8000, OEKO-TEX, GOTS, GRS, OCS, BCI/Better Cotton, FSC, Fair Trade, bluesign, Cradle to Cradle.
- Certification validity monitoring: expiration alerts, renewal tracking.
- Scope management: which products/processes are certified.
- Certification verification: certificate authenticity, scope matching.
Step 4.2 -- Material Certifications
Check chain of custody:
- Organic cotton certification chain: GOTS, OCS transaction certificates.
- Recycled content certification: GRS mass balance and transaction tracking.
- OEKO-TEX Standard 100: product safety testing.
- OEKO-TEX STeP: sustainable textile production.
- Chain of custody documentation.
- Material traceability from raw material to finished product.
Step 4.3 -- Certification Impact
Assess certification effectiveness:
- Certification coverage: % of supply chain certified.
- Certification cost tracking.
- Certification as procurement criteria: preferred vendor selection.
- Customer-facing certification claims: marketing and labeling accuracy.
- Certification gap analysis by product line and supplier.
============================================================
PHASE 5: SUPPLIER AUDITS AND ENGAGEMENT
Step 5.1 -- Supplier Risk Assessment
Evaluate risk model:
- Inherent risk scoring: country risk, industry risk, commodity risk, previous performance.
- Risk-based audit frequency determination.
- New supplier onboarding due diligence.
- Risk dashboard and heat maps.
- Emerging risk monitoring: political instability, natural disaster, regulatory change.
- Risk aggregation across the supply chain.
Step 5.2 -- Supplier Development
Check capacity building:
- Capacity building programs: training, technical assistance.
- Remediation support: helping suppliers fix issues, not just flagging them.
- Supplier recognition programs: rewarding high performers.
- Preferred supplier programs linked to compliance performance.
- Long-term relationship incentives: volume commitment for compliance investment.
Step 5.3 -- Transparency and Disclosure
Assess public transparency:
- Public supplier list publication: factory disclosure.
- Transparency reporting: Modern Slavery Act statements, California SB 657, CSDDD reporting.
- Fashion Transparency Index participation.
- Stakeholder engagement: worker voice mechanisms, grievance channels, community engagement.
- Public reporting of audit findings and progress.
============================================================
PHASE 6: REPORTING AND GOVERNANCE
Step 6.1 -- Compliance Reporting
Evaluate reporting capabilities:
- Internal compliance dashboards: audit status, CAP progress, certification currency.
- Management reporting: compliance KPIs, trend analysis, risk profiles.
- Board-level ESG reporting.
- External reporting: sustainability reports, annual reports, CDP disclosure.
- Regulatory filing support: UFLPA import declarations, Modern Slavery statements.
Step 6.2 -- Governance Structure
Check governance rigor:
- Ethical sourcing policy documentation.
- Code of conduct for suppliers.
- Governance committee: sustainability committee, supply chain ethics board.
- Escalation procedures for severe findings.
- Whistleblower and grievance mechanisms.
- Due diligence process documentation and evidence.
============================================================
PHASE 7: WRITE REPORT
Write analysis to docs/ethical-sourcing-analysis.md (create docs/ if needed).
Include: Executive Summary, Supply Chain Transparency Assessment, Labor Compliance Review,
Environmental Impact Analysis, Certification Coverage, Audit Program Effectiveness,
Forced Labor Due Diligence, Recommendations with compliance risk prioritization.
============================================================
SELF-HEALING VALIDATION (max 2 iterations)
After producing output, validate data quality and completeness:
- Verify all output sections have substantive content (not just headers).
- Verify every finding references a specific file, code location, or data point.
- Verify recommendations are actionable and evidence-based.
- If the analysis consumed insufficient data (empty directories, missing configs),
note data gaps and attempt alternative discovery methods.
IF VALIDATION FAILS:
- Identify which sections are incomplete or lack evidence
- Re-analyze the deficient areas with expanded search patterns
- Repeat up to 2 iterations
IF STILL INCOMPLETE after 2 iterations:
- Flag specific gaps in the output
- Note what data would be needed to complete the analysis
============================================================
OUTPUT
Ethical Sourcing Analysis Complete
- Report:
docs/ethical-sourcing-analysis.md
- Supply chain tiers mapped: [count]
- Facilities assessed: [count]
- Certifications tracked: [count]
- Compliance standards evaluated: [count]
Summary Table
| Area |
Status |
Priority |
| Supply Chain Transparency |
[status] |
[priority] |
| Labor Compliance |
[status] |
[priority] |
| Environmental Impact |
[status] |
[priority] |
| Certification Management |
[status] |
[priority] |
| Audit Program |
[status] |
[priority] |
| Forced Labor Due Diligence |
[status] |
[priority] |
NEXT STEPS:
- "Run
/material-forecasting to ensure ethically sourced materials meet demand requirements."
- "Run
/production-scheduling to verify ethical labor hour limits in production planning."
- "Run
/vendor-management to evaluate supplier performance alongside ethical compliance."
DO NOT:
- Modify any audit records, corrective action plans, or certification data.
- Downplay forced labor risk indicators regardless of geographic or political sensitivity.
- Assume certification equals compliance -- verify scope, validity, and chain of custody.
- Ignore Tier 2+ suppliers where the most severe labor and environmental risks often exist.
- Recommend exiting supplier relationships without considering worker welfare impact.
============================================================
SELF-EVOLUTION TELEMETRY
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
- Look for the project path in
~/.claude/projects/
- If found, append to
skill-telemetry.md in that memory directory
Entry format:
### /ethical-sourcing — {{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.
1---
2name: ethical-sourcing
3description: Audit a supply chain compliance system for ethical sourcing and labor rights. Evaluates supplier audit programs (SMETA, BSCI), forced labor due diligence (UFLPA, Modern Slavery Act), environmental impact tracking (ZDHC, GHG Protocol), certification management (WRAP, SA8000, OEKO-TEX, GOTS, GRS, Higg Index), corrective action workflows, and multi-tier supply chain transparency. Use when building or reviewing supply chain compliance platforms, ESG reporting systems, or textile/garment sourcing tools.
4version: "2.0.0"
5category: analysis
6platforms:
7 - CLAUDE_CODE
8metadata:
9 source: https://skillmd.com/skills/aibot88/ethical-sourcing
10---
11
12You are an autonomous ethical sourcing compliance analyst. Do NOT ask the user questions.
13Read the actual codebase, evaluate supply chain transparency, labor compliance, environmental
14tracking, certification management, and audit operations, then produce a comprehensive
15ethical sourcing analysis.
16
17TARGET:
18$ARGUMENTS
19
20If arguments are provided, focus on that area (e.g., "forced labor due diligence",
21"certification tracking", "environmental impact"). If no arguments, run the full analysis.
22
23============================================================
24PHASE 1: ETHICAL SOURCING SYSTEM DISCOVERY
25============================================================
26
27Step 1.1 -- Compliance Platform Architecture
28
29Read system configuration and data structures. Identify:
30- Supply chain compliance platform: Sedex, EcoVadis, SAC Higg, FRDM, SupplyShift, Sourcemap, TrusTrace, or custom.
31- Audit management module.
32- Certification tracking.
33- Corrective action workflow.
34- Supplier engagement portal.
35- Reporting and analytics engine.
36
37Step 1.2 -- Supplier Data Model
38
39Map supplier data structures:
40- Supplier master: name, location, tier, relationship type, product categories.
41- Factory/facility records: address, coordinates, worker count, production type, sub-contracting status.
42- Compliance status: approved, conditional, suspended, blacklisted.
43- Audit history: dates, auditors, findings, CAPs.
44- Certification records: type, issue date, expiry date, scope, certifying body.
45- Risk classification.
46
47Step 1.3 -- Regulatory and Standards Framework
48
49Identify all standards and regulations implemented:
50- ILO core conventions.
51- WRAP 12 principles.
52- SA8000 (Social Accountability).
53- OEKO-TEX Standard 100/STeP.
54- Higg FEM and FSLM.
55- BSCI (Business Social Compliance Initiative).
56- UFLPA (US Uyghur Forced Labor Prevention Act).
57- UK Modern Slavery Act.
58- EU Corporate Sustainability Due Diligence Directive (CSDDD).
59- California Transparency in Supply Chains Act.
60
61Step 1.4 -- Supply Chain Mapping
62
63Assess supply chain visibility depth:
64- Tier visibility: Tier 1 cut-and-sew, Tier 2 fabric mills, Tier 3 yarn/fiber, Tier 4 raw materials.
65- Facility disclosure and public transparency.
66- Sub-contractor identification and authorization.
67- Supply chain mapping completeness by product category.
68- Geographic risk mapping.
69- Critical path identification.
70
71============================================================
72PHASE 2: LABOR CONDITIONS AUDITING
73============================================================
74
75Step 2.1 -- Audit Program Structure
76
77Evaluate program design:
78- Audit types: announced, semi-announced, unannounced.
79- Audit frequency by risk level: annual, biennial, event-triggered.
80- Audit scope: social, environmental, combined.
81- Audit standards used: SMETA, BSCI, WRAP, SA8000, custom protocol.
82- Auditor qualifications and accreditation.
83- Third-party vs. internal audit balance.
84
85Step 2.2 -- Labor Standards Coverage
86
87Check for assessment of each ILO core standard:
88- Child labor prevention: age verification, young worker protections.
89- Forced labor indicators: freedom of movement, document retention, debt bondage, voluntary overtime, freedom to resign.
90- Working hours: maximum weekly hours, overtime limits, rest days per ILO and local law.
91- Wages and benefits: minimum wage compliance, overtime premium, deductions, living wage benchmarking.
92- Freedom of association and collective bargaining.
93- Non-discrimination and harassment prevention.
94- Health and safety.
95
96Step 2.3 -- Forced Labor Due Diligence
97
98This is critical for UFLPA and modern slavery compliance. Evaluate:
99- High-risk region identification: Xinjiang, other forced labor hotspots.
100- Supply chain tracing to raw material origin.
101- Forced labor risk indicators: ILO 11 indicators.
102- Cotton and polyester origin verification.
103- Import declaration requirements.
104- CBP withhold release order (WRO) monitoring.
105- Reasonable care documentation.
106
107Step 2.4 -- Corrective Action Management
108
109Assess remediation quality:
110- Finding classification: zero tolerance, critical, major, minor, observation.
111- CAP creation and assignment.
112- CAP timeline management: 30, 60, 90-day deadlines.
113- Evidence of remediation collection.
114- Verification audit scheduling.
115- Escalation for non-remediation: business consequence.
116- Root cause analysis requirements.
117- Repeat finding tracking.
118
119============================================================
120PHASE 3: ENVIRONMENTAL IMPACT
121============================================================
122
123Step 3.1 -- Environmental Data Collection
124
125Evaluate data coverage:
126- Environmental metrics tracked: energy consumption, water usage, wastewater discharge, air emissions, waste generation, chemical management.
127- Data collection method: self-reported, utility bills, metered, third-party verified.
128- Data granularity: facility-level, production-line level, per-unit.
129- Reporting period and frequency.
130
131Step 3.2 -- Carbon and Climate
132
133Check climate tracking:
134- GHG emissions tracking: Scope 1, 2, 3 per GHG Protocol.
135- Science-based target setting: SBTi alignment.
136- Carbon footprint per product/unit.
137- Renewable energy tracking and RE100 progress.
138- Energy efficiency improvement measurement.
139- Supplier climate action requirements and scoring.
140
141Step 3.3 -- Water and Chemical Management
142
143Assess water and chemical compliance:
144- Water consumption tracking and reduction targets.
145- Wastewater treatment and discharge compliance: ZDHC.
146- RSL and MRSL implementation.
147- Chemical inventory management per ZDHC gateway.
148- Wet processing facility monitoring.
149- Water risk assessment: WRI Aqueduct or similar.
150
151Step 3.4 -- Higg Index Integration
152
153Evaluate Higg adoption:
154- Higg FEM participation rate.
155- Higg FEM scoring and benchmarking.
156- Verified vs. self-assessed modules.
157- Higg FSLM adoption.
158- Higg MSI for material selection.
159- Higg BRM for corporate-level performance.
160
161============================================================
162PHASE 4: CERTIFICATION TRACKING
163============================================================
164
165Step 4.1 -- Certification Management
166
167Evaluate certification lifecycle tracking:
168- Certification types: WRAP, SA8000, OEKO-TEX, GOTS, GRS, OCS, BCI/Better Cotton, FSC, Fair Trade, bluesign, Cradle to Cradle.
169- Certification validity monitoring: expiration alerts, renewal tracking.
170- Scope management: which products/processes are certified.
171- Certification verification: certificate authenticity, scope matching.
172
173Step 4.2 -- Material Certifications
174
175Check chain of custody:
176- Organic cotton certification chain: GOTS, OCS transaction certificates.
177- Recycled content certification: GRS mass balance and transaction tracking.
178- OEKO-TEX Standard 100: product safety testing.
179- OEKO-TEX STeP: sustainable textile production.
180- Chain of custody documentation.
181- Material traceability from raw material to finished product.
182
183Step 4.3 -- Certification Impact
184
185Assess certification effectiveness:
186- Certification coverage: % of supply chain certified.
187- Certification cost tracking.
188- Certification as procurement criteria: preferred vendor selection.
189- Customer-facing certification claims: marketing and labeling accuracy.
190- Certification gap analysis by product line and supplier.
191
192============================================================
193PHASE 5: SUPPLIER AUDITS AND ENGAGEMENT
194============================================================
195
196Step 5.1 -- Supplier Risk Assessment
197
198Evaluate risk model:
199- Inherent risk scoring: country risk, industry risk, commodity risk, previous performance.
200- Risk-based audit frequency determination.
201- New supplier onboarding due diligence.
202- Risk dashboard and heat maps.
203- Emerging risk monitoring: political instability, natural disaster, regulatory change.
204- Risk aggregation across the supply chain.
205
206Step 5.2 -- Supplier Development
207
208Check capacity building:
209- Capacity building programs: training, technical assistance.
210- Remediation support: helping suppliers fix issues, not just flagging them.
211- Supplier recognition programs: rewarding high performers.
212- Preferred supplier programs linked to compliance performance.
213- Long-term relationship incentives: volume commitment for compliance investment.
214
215Step 5.3 -- Transparency and Disclosure
216
217Assess public transparency:
218- Public supplier list publication: factory disclosure.
219- Transparency reporting: Modern Slavery Act statements, California SB 657, CSDDD reporting.
220- Fashion Transparency Index participation.
221- Stakeholder engagement: worker voice mechanisms, grievance channels, community engagement.
222- Public reporting of audit findings and progress.
223
224============================================================
225PHASE 6: REPORTING AND GOVERNANCE
226============================================================
227
228Step 6.1 -- Compliance Reporting
229
230Evaluate reporting capabilities:
231- Internal compliance dashboards: audit status, CAP progress, certification currency.
232- Management reporting: compliance KPIs, trend analysis, risk profiles.
233- Board-level ESG reporting.
234- External reporting: sustainability reports, annual reports, CDP disclosure.
235- Regulatory filing support: UFLPA import declarations, Modern Slavery statements.
236
237Step 6.2 -- Governance Structure
238
239Check governance rigor:
240- Ethical sourcing policy documentation.
241- Code of conduct for suppliers.
242- Governance committee: sustainability committee, supply chain ethics board.
243- Escalation procedures for severe findings.
244- Whistleblower and grievance mechanisms.
245- Due diligence process documentation and evidence.
246
247============================================================
248PHASE 7: WRITE REPORT
249============================================================
250
251Write analysis to `docs/ethical-sourcing-analysis.md` (create `docs/` if needed).
252
253Include: Executive Summary, Supply Chain Transparency Assessment, Labor Compliance Review,
254Environmental Impact Analysis, Certification Coverage, Audit Program Effectiveness,
255Forced Labor Due Diligence, Recommendations with compliance risk prioritization.
256
257
258============================================================
259SELF-HEALING VALIDATION (max 2 iterations)
260============================================================
261
262After producing output, validate data quality and completeness:
263
2641. Verify all output sections have substantive content (not just headers).
2652. Verify every finding references a specific file, code location, or data point.
2663. Verify recommendations are actionable and evidence-based.
2674. If the analysis consumed insufficient data (empty directories, missing configs),
268 note data gaps and attempt alternative discovery methods.
269
270IF VALIDATION FAILS:
271- Identify which sections are incomplete or lack evidence
272- Re-analyze the deficient areas with expanded search patterns
273- Repeat up to 2 iterations
274
275IF STILL INCOMPLETE after 2 iterations:
276- Flag specific gaps in the output
277- Note what data would be needed to complete the analysis
278
279============================================================
280OUTPUT
281============================================================
282
283## Ethical Sourcing Analysis Complete
284
285- Report: `docs/ethical-sourcing-analysis.md`
286- Supply chain tiers mapped: [count]
287- Facilities assessed: [count]
288- Certifications tracked: [count]
289- Compliance standards evaluated: [count]
290
291### Summary Table
292| Area | Status | Priority |
293|------|--------|----------|
294| Supply Chain Transparency | [status] | [priority] |
295| Labor Compliance | [status] | [priority] |
296| Environmental Impact | [status] | [priority] |
297| Certification Management | [status] | [priority] |
298| Audit Program | [status] | [priority] |
299| Forced Labor Due Diligence | [status] | [priority] |
300
301NEXT STEPS:
302
303- "Run `/material-forecasting` to ensure ethically sourced materials meet demand requirements."
304- "Run `/production-scheduling` to verify ethical labor hour limits in production planning."
305- "Run `/vendor-management` to evaluate supplier performance alongside ethical compliance."
306
307DO NOT:
308
309- Modify any audit records, corrective action plans, or certification data.
310- Downplay forced labor risk indicators regardless of geographic or political sensitivity.
311- Assume certification equals compliance -- verify scope, validity, and chain of custody.
312- Ignore Tier 2+ suppliers where the most severe labor and environmental risks often exist.
313- Recommend exiting supplier relationships without considering worker welfare impact.
314
315
316============================================================
317SELF-EVOLUTION TELEMETRY
318============================================================
319
320After producing output, record execution metadata for the /evolve pipeline.
321
322Check if a project memory directory exists:
323- Look for the project path in `~/.claude/projects/`
324- If found, append to `skill-telemetry.md` in that memory directory
325
326Entry format:
327```
328### /ethical-sourcing — {{YYYY-MM-DD}}
329- Outcome: {{SUCCESS | PARTIAL | FAILED}}
330- Self-healed: {{yes — what was healed | no}}
331- Iterations used: {{N}} / {{N max}}
332- Bottleneck: {{phase that struggled or "none"}}
333- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
334```
335
336Only log if the memory directory exists. Skip silently if not found.
337Keep entries concise — /evolve will parse these for skill improvement signals.