{"id":"11401957-4d6d-4b1e-8f30-651387c1bdee","entityType":"agent","slug":"clawhub-johnsmithfan-information-services","name":"Information Services","canonicalUrl":"https://www.xpersona.co/agent/clawhub-johnsmithfan-information-services","canonicalPath":"/agent/clawhub-johnsmithfan-information-services","generatedAt":"2026-10-14T18:12:00.188Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":null},"description":"Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a... Skill: Information Services Owner: johnsmithfan Summary: Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-26T17:27:17.176Z | user v3.0.0 major rebuild: department-aligned merge, English-only, SKILL.md index-only, method-patterns.md + prompts/ folder Archi","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 996 downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17ar8yxm9wh64zhr7mr0xemcn84gs16:information-services","sourceUrl":"https://clawhub.ai/johnsmithfan/information-services","homepage":"https://clawhub.ai/johnsmithfan/skills/information-services","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/johnsmithfan/information-services","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/johnsmithfan/skills/information-services","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":null},"stars":null,"forks":null,"downloads":996,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"996 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T20:33:37.066Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T20:33:37.079Z","lastCrawledAt":"2026-10-11T20:33:37.066Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T20:33:37.066Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-26T17:27:17.176Z","changelog":"v3.0.0 major rebuild: department-aligned merge, English-only, SKILL.md index-only, method-patterns.md + prompts/ folder","fileCount":12,"zipByteSize":11774}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17ar8yxm9wh64zhr7mr0xemcn84gs16:information-services","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","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."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-14T18:12:00.187Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-johnsmithfan-information-services/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":null},"readme":"Skill: Information Services\n\nOwner: johnsmithfan\n\nSummary: Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a...\n\nTags: latest:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-26T17:27:17.176Z | user\n\nv3.0.0 major rebuild: department-aligned merge, English-only, SKILL.md index-only, method-patterns.md + prompts/ folder\n\nArchive index:\n\nArchive v1.0.0: 12 files, 11774 bytes\n\nFiles: prompts/01-implement-method.md (1733b), prompts/02-robustness-checks.md (1594b), prompts/03-test-cases.md (1539b), prompts/04-documentation.md (1396b), prompts/05-workflow-execution.md (1550b), references/location.md (2047b), references/method-patterns.md (2095b), references/time.md (1466b), references/weather.md (1679b), skill-card.md (2486b), SKILL.md (2920b), _meta.json (139b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: \"Information Services\"\nslug: \"information-services\"\nversion: \"1.0.0\"\nlanguage: en\ndescription: |\n  Unified information services hub combining location, weather, and time capabilities.\n  Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, and multi-source\n  time reporting with confidence scoring. Single entry point for all location-aware services.\nlicense: MIT\ntriggers:\n  - location\n  - weather\n  - time\n  - GPS coordinates\n  - forecast\n  - current time\n  - where am i\n  - what time is it\n  - weather forecast\ninterface:\n  inputs:\n    type: object\n    schema:\n      type: object\n      properties:\n        service:\n          type: string\n          enum: [location, weather, time, all]\n          description: Which service to query\n        location:\n          type: string\n          description: City name or coordinates (lat,lon)\n        method:\n          type: string\n          description: Specific method (gps, system, ip, wifi, cellular)\n  outputs:\n    type: object\n    schema:\n      type: object\n      properties:\n        service_type:\n          type: string\n          description: location | weather | time\n        data:\n          type: object\n          description: Service-specific result data\n        confidence:\n          type: number\n          description: Confidence score 0-1\n  errors:\n    - code: LOC_UNAVAILABLE\n      message: No location source available\n    - code: WEATHER_FAILED\n      message: Weather API request failed\n    - code: TIME_FAILED\n      message: Time source unavailable\n    - code: NO_CREDENTIALS\n      message: Required API credentials missing\nquality:\n  idempotent: true\nmetadata:\n  category: information\n  standardized: true\n---\n\n# Information Services v1.0.0\n\n> Index & Quick Reference. Full specifications in [references/](references/).\n\n## Quick Reference\n\n### Role\nUnified hub for location, weather, and time services. Routes requests to the appropriate subsystem based on service type.\n\n### Department\nInformation\n\n## Section Index\n\n- [Location Service](references/location.md)\n- [Weather Service](references/weather.md)\n- [Time Service](references/time.md)\n- [Coordination Logic](references/method-patterns.md#coordination)\n\n## Services\n\n| Service | Capabilities | Source Skills |\n|---------|-------------|---------------|\n| **Location** | GPS, system, IP, WiFi, cellular triangulation | multi-source-locate |\n| **Weather** | Current conditions, forecast, multi-source fusion | locate-weather |\n| **Time** | System clock, NTP, web API, confidence scoring | multi-source-time |\n\n## Prompts\n\n- [01-implement-method.md](prompts/01-implement-method.md)\n- [02-robustness-checks.md](prompts/02-robustness-checks.md)\n- [03-test-cases.md](prompts/03-test-cases.md)\n- [04-documentation.md](prompts/04-documentation.md)\n- [05-workflow-execution.md](prompts/05-workflow-execution.md)\n\n---\n\n*See [references/](references/) for detailed service specifications.*\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7c9ynzajdkfj65cxt4wb6ysx82d4zh\",\n  \"slug\": \"information-services\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777224437176\n}\n\nFile v1.0.0:references/location.md\n\n# Location Service — Detailed Specifications\n\n> Part of information-services skill.\n\n---\n\n## 1. Supported Methods\n\n| Method | Accuracy | Use Case | API Key Required |\n|--------|----------|----------|-----------------|\n| **GPS** | 3-10m | Outdoor, navigation | No |\n| **System** | 10m–1km | Indoor/outdoor, OS-managed | No |\n| **IP** | 1-50km | City-level, quick detection | No |\n| **WiFi** | 10-100m | Indoor, urban environments | Optional |\n| **Cellular** | 100m-3km | Rural, GPS-denied | Optional |\n| **Triangulated** | Weighted centroid | Multi-method fusion | No |\n\n## 2. Triangulation Algorithm\n\nWhen multiple methods return results:\n1. Collect coordinates from each successful method\n2. Weight by inverse variance (accuracy-based weighting)\n3. Compute weighted centroid as final position\n4. Estimate combined accuracy from residual dispersion\n5. Report confidence score (0–100%)\n\n### Output Format\n```json\n{\n  \"latitude\": 39.9042,\n  \"longitude\": 116.4074,\n  \"accuracy_meters\": 15,\n  \"confidence\": 0.92,\n  \"method\": \"triangulated\",\n  \"sources\": {\n    \"gps\": {\"lat\": 39.9045, \"lon\": 116.4071, \"accuracy\": 5, \"weight\": 0.6},\n    \"wifi\": {\"lat\": 39.9039, \"lon\": 116.4078, \"accuracy\": 30, \"weight\": 0.3},\n    \"ip\": {\"lat\": 39.9042, \"lon\": 116.4074, \"accuracy\": 5000, \"weight\": 0.1}\n  },\n  \"timestamp\": \"2026-04-26T10:30:00Z\"\n}\n```\n\n## 3. Command Interface\n\n```bash\n# Get location using all available methods\npython scripts/locate.py\n\n# Use specific method(s)\npython scripts/locate.py --method gps\npython scripts/locate.py --method system,ip,wifi\n\n# Output format\npython scripts/locate.py --format json\npython scripts/locate.py --format text\n```\n\n## 4. Optional API Keys\n\nFor enhanced accuracy, configure in environment:\n```bash\nexport GOOGLE_GEOLOCATION_API_KEY=\"your-key\"\nexport MLS_API_KEY=\"your-key\"\nexport UNWIRED_API_KEY=\"your-key\"\n```\n\n## 5. Platform Notes\n\n- **Windows:** GeoCoordinateWatcher via PowerShell (WiFi + IP + GPS fusion)\n- **macOS:** CoreLocation via locationd daemon\n- **Linux:** GeoClue2 via D-Bus (Wi-Fi + cell fusion)\n\nFile v1.0.0:references/method-patterns.md\n\n# Information Services -- Method Patterns & Coordination\n\n> Overview document for information-services skill. Service-specific details in [location.md](location.md), [weather.md](weather.md), [time.md](time.md).\n\n---\n\n## 1. Trigger Scenarios\n\n| Category | Triggers |\n|----------|----------|\n| Location | \"where am I\", \"my coordinates\", \"get location\", \"GPS\" |\n| Weather | \"weather\", \"forecast\", \"temperature\", \"rain\" |\n| Time | \"what time is it\", \"current time\", \"time check\" |\n| Combined | \"weather and time\", \"location and forecast\" |\n| Emergency | \"emergency location\", \"SOS coordinates\" |\n\n## 2. Core Identity\n\n**Role:** Unified information services hub. Single entry point for all location, weather, and time queries.\n\n**Behavior:**\n- Route to appropriate subsystem based on service type\n- Use triangulation when multiple sources available\n- Report confidence score for all results\n- Graceful degradation when sources unavailable\n\n## 3. Coordination Logic\n\n### Request Routing\n\n```\nUser query → Parse intent → Route to service → Execute → Score confidence → Return\n```\n\n### Intent → Service Mapping\n\n| Intent Keywords | Service |\n|----------------|---------|\n| \"where\", \"location\", \"coordinates\", \"GPS\" | location |\n| \"weather\", \"forecast\", \"rain\", \"temperature\" | weather |\n| \"time\", \"clock\", \"date\", \"when\" | time |\n| Multiple / none | all (sequential) |\n\n### Fallback Chains\n\n**Location:**\nGPS → System → IP → WiFi → Cellular → Error(LOC_UNAVAILABLE)\n\n**Weather:**\nPrimary API → Backup API → IP-location-based → Error(WEATHER_FAILED)\n\n**Time:**\nSystem → NTP → Web API → Error(TIME_FAILED)\n\n## 4. Quality Metrics\n\n| Metric | Target |\n|--------|--------|\n| Location accuracy | < 100m for triangulated |\n| Weather freshness | < 30 min cache |\n| Time accuracy | < 1s from NTP |\n| Confidence scoring | ≥ 0.80 for all results |\n| Fallback success rate | > 95% |\n\n## 5. Constraints\n\n- No persistent storage of location data\n- No credential logging in output\n- Rate-limit compliance for all external APIs\n- Privacy: do not log coordinates without user request\n\nFile v1.0.0:references/time.md\n\n# Time Service — Detailed Specifications\n\n> Part of information-services skill.\n\n---\n\n## 1. Trigger Scenarios\n\n| Scenario | Example Phrase |\n|----------|----------------|\n| Current time | \"What time is it?\" |\n| Time check | \"Report current time with confidence\" |\n| Timezone conversion | \"What time is it in London?\" |\n| Precise time | \"Accurate time via NTP\" |\n\n## 2. Multi-Source Time Fusion\n\n### Source Priority\n\n| Priority | Source | Accuracy | Latency |\n|----------|--------|----------|---------|\n| 1 | System clock | OS-dependent | Instant |\n| 2 | NTP | ±10ms | 50-200ms |\n| 3 | Web API (worldtimeapi, etc.) | ±500ms | 100-500ms |\n\n### Workflow\n\n1. Query system clock (instant, baseline)\n2. If precision needed, query NTP server\n3. If NTP fails, query web time API\n4. Combine with confidence scoring\n5. Return unified result\n\n### Confidence Scoring\n\n| Source | Base Confidence | Notes |\n|--------|----------------|-------|\n| System clock | 0.85 | OS-synced, may drift |\n| NTP | 0.98 | Stratum-synchronized |\n| Web API | 0.92 | Server-dependent |\n\n### Output Format\n\n```json\n{\n  \"datetime\": \"2026-04-26T22:47:00+08:00\",\n  \"timestamp\": 1743084420,\n  \"timezone\": \"Asia/Hong_Kong\",\n  \"sources\": [\"system\", \"ntp\"],\n  \"confidence\": 0.96,\n  \"accuracy_ms\": 15\n}\n```\n\n## 3. Voice Output (Optional)\n\nWhen TTS is available and requested, optionally announce time in natural language:\n- \"It's 10:47 PM, Saturday, April 26th.\"\n- Timezone-aware natural speech formatting\n\nFile v1.0.0:references/weather.md\n\n# Weather Service — Detailed Specifications\n\n> Part of information-services skill.\n\n---\n\n## 1. Trigger Scenarios\n\n| Scenario | Example Phrase |\n|----------|----------------|\n| Current location weather | \"What's the weather here?\" |\n| Fixed-point forecast | \"Weather in Shanghai tomorrow\" |\n| Manual coordinates | \"Weather at 39.9N, 116.4E\" |\n| Time-aware location | \"Weather this evening\" |\n\n## 2. Workflow\n\n1. **Geolocation** — Use location service to get coordinates (GPS → system → IP → WiFi → cellular)\n2. **Weather lookup** — Query weather API with coordinates\n3. **Multi-source fusion** — Combine multiple weather sources with confidence weighting\n4. **Output** — Return structured weather data with confidence score\n\n## 3. Supported Weather Data\n\n| Data Point | Description |\n|------------|-------------|\n| Temperature | Current temp in Celsius |\n| Conditions | sunny, cloudy, rainy, etc. |\n| Humidity | Percentage |\n| Wind | Speed and direction |\n| Forecast | 3-7 day outlook |\n| UV Index | UV radiation level |\n| AQI | Air quality index |\n\n## 4. Sources\n\n- wttr.in (no API key required)\n- Open-Meteo (no API key required)\n- Custom weather API (if configured)\n\n## 5. Error Handling\n\n| Error | Action |\n|-------|--------|\n| No location available | Fall back to IP-based location |\n| Weather API timeout | Retry with alternate source |\n| All sources failed | Return error with partial data |\n\n## 6. Output Format\n\n```json\n{\n  \"location\": {\"lat\": 39.9042, \"lon\": 116.4074},\n  \"current\": {\n    \"temp_c\": 18,\n    \"conditions\": \"partly cloudy\",\n    \"humidity\": 65,\n    \"wind_kmh\": 12\n  },\n  \"forecast\": [...],\n  \"confidence\": 0.88,\n  \"source\": \"wttr.in\"\n}\n```\n\nFile v1.0.0:prompts/01-implement-method.md\n\n# Information Services — Implementation Prompt\n\n## Role\nYou are the Information Services hub. You provide unified access to location, weather, and time data through a single interface.\n\n## Task\nProcess user requests for location, weather, or time information. Route to the appropriate service, fuse results from multiple sources, and return structured data with confidence scores.\n\n## Context\n- Department: Information\n- Skill: information-services v1.0.0\n- Services: location (GPS/IP/WiFi/cellular), weather (conditions/forecast), time (system/NTP/web)\n\n## Process\n\n### Step 1: Parse Intent\nIdentify the service type from user query:\n- Location keywords: \"where\", \"location\", \"coordinates\", \"GPS\"\n- Weather keywords: \"weather\", \"forecast\", \"temperature\", \"rain\"\n- Time keywords: \"time\", \"clock\", \"date\", \"when\"\n- Multiple or none: execute all services\n\n### Step 2: Execute Service(s)\nFor each required service:\n1. Check available methods/sources\n2. Execute with appropriate parameters\n3. Collect results with accuracy metadata\n\n### Step 3: Compute Confidence\n- Single source: confidence = source_base\n- Multiple sources: triangulated confidence > any single source\n- Failed sources: use next in fallback chain\n\n### Step 4: Return Structured Output\n```json\n{\n  \"service_type\": \"location|weather|time|all\",\n  \"data\": { ... service-specific ... },\n  \"confidence\": 0.0-1.0,\n  \"timestamp\": \"ISO8601\"\n}\n```\n\n## Output Format\nAlways return JSON with service_type, data, and confidence fields.\n\n## Quality Checklist\n- [ ] Intent correctly identified\n- [ ] Best available sources used\n- [ ] Fallback chain executed if primary fails\n- [ ] Confidence score computed\n- [ ] Results returned in < 5 seconds\n- [ ] No credentials or PII in output\n\nFile v1.0.0:prompts/02-robustness-checks.md\n\n# Information Services — Robustness Verification\n\n## Pre-flight Checks\n- [ ] Service type identified from intent\n- [ ] At least one fallback source available\n- [ ] API keys configured (if required for enhanced accuracy)\n- [ ] Network connectivity confirmed (for external APIs)\n\n## Edge Cases\n\n| Case | Input | Expected | Handling |\n|------|-------|----------|----------|\n| GPS unavailable | Indoor query | System location | Fallback: system → ip |\n| Weather API down | Weather request | Backup API | Fallback: wttr.in → open-meteo |\n| NTP unreachable | Time request | System clock | Fallback: system → web API |\n| No sources available | Any request | Error code | Return LOC_UNAVAILABLE / WEATHER_FAILED / TIME_FAILED |\n| Triangulation conflict | Multiple methods differ >50m | Warning + best estimate | Use weighted centroid, flag confidence |\n\n## Failure Modes\n\n| Mode | Detection | Recovery |\n|------|-----------|----------|\n| All location sources fail | Confidence = 0 | Return error, suggest manual input |\n| Primary weather API fails | HTTP error or timeout | Retry with backup, then IP-based |\n| NTP timeout | > 500ms response | Fall back to system clock |\n| Network unavailable | Connection error | Use cached/system data if available |\n\n## Security Checklist\n- [ ] No API keys in output\n- [ ] No coordinates logged without request\n- [ ] Rate limits respected (1 req/s for free APIs)\n- [ ] Privacy: no PII in results\n\n## Compliance Checklist\n- [ ] License terms honored (MIT)\n- [ ] Attribution preserved (wttr.in, open-meteo, etc.)\n- [ ] Scope not exceeded (info retrieval only)\n\nFile v1.0.0:prompts/03-test-cases.md\n\n# Information Services — Test Cases\n\n## Location Tests\n\n### TC-01: GPS Location\n- Input: service=location, method=gps\n- Expected: lat/lon with accuracy < 20m\n- Pass: confidence > 0.7\n\n### TC-02: IP Fallback\n- Input: service=location, no GPS available\n- Expected: city-level coordinates\n- Pass: confidence > 0.5\n\n### TC-03: Triangulation\n- Input: service=location, methods=[gps,wifi,ip]\n- Expected: weighted centroid with combined confidence\n- Pass: confidence > max(individual_sources)\n\n## Weather Tests\n\n### TC-04: Current Weather\n- Input: service=weather, location=\"Shanghai\"\n- Expected: temp, conditions, humidity, wind\n- Pass: all fields populated, confidence > 0.7\n\n### TC-05: Forecast\n- Input: service=weather, days=3\n- Expected: 3-day forecast array\n- Pass: array of 3 entries with date/temp/conditions\n\n### TC-06: API Fallback\n- Input: service=weather, primary API unreachable\n- Expected: data from backup API\n- Pass: same fields, possibly lower confidence\n\n## Time Tests\n\n### TC-07: System Time\n- Input: service=time\n- Expected: current datetime with timezone\n- Pass: within 2s of actual time\n\n### TC-08: NTP Precision\n- Input: service=time, precision=high\n- Expected: accuracy_ms < 50\n- Pass: confidence > 0.95\n\n### TC-09: Timezone Conversion\n- Input: service=time, timezone=\"Europe/London\"\n- Expected: correct local time for timezone\n- Pass: matches public time API\n\n## Combined Tests\n\n### TC-10: All Services\n- Input: service=all\n- Expected: location + weather + time in single response\n- Pass: all three data objects present\n\nFile v1.0.0:prompts/04-documentation.md\n\n# Information Services — Documentation\n\n## Overview\nUnified information services hub combining location, weather, and time capabilities into a single skill.\n\n## Services\n\n### Location Service\nMulti-source geolocation combining GPS, System, IP, WiFi, and Cellular methods with triangulated confidence scoring.\n\n**Methods:**\n- `GPS`: 3-10m accuracy, outdoor only\n- `System`: 10m-1km, OS-managed, always available\n- `IP`: 1-50km, city-level, internet required\n- `WiFi`: 10-100m, indoor environments\n- `Cellular`: 100m-3km, rural fallback\n- `Triangulated`: Weighted centroid of multiple methods\n\n### Weather Service\nFixed-point weather forecasts with multi-source data fusion.\n\n**Data:** Current conditions, temperature, humidity, wind, 3-7 day forecast, AQI, UV index\n\n**Sources:** wttr.in (default), Open-Meteo (backup)\n\n### Time Service\nMulti-source time with system/NTP/web API fusion and confidence scoring.\n\n**Precision:** ±15ms (NTP), ±500ms (web API), OS-dependent (system)\n\n## Usage Examples\n\n```\n# Get current location weather\nservice=weather, method=all\n\n# Get precise time\nservice=time, precision=high\n\n# Get coordinates\nservice=location, method=gps\n```\n\n## Configuration\nNo required API keys for basic operation. Optional keys for enhanced accuracy:\n- `GOOGLE_GEOLOCATION_API_KEY` (WiFi/Cellular accuracy)\n- `MLS_API_KEY` (Mozilla Location Service)\n- `UNWIRED_API_KEY` (Unwired Labs)\n\nFile v1.0.0:prompts/05-workflow-execution.md\n\n# Information Services — Workflow Execution\n\n## Workflow: Get Current Location Weather\n\n### Step 1: Get Location\n```\n1. Attempt GPS (--method gps --timeout 30)\n2. If GPS fails, try System (--method system --timeout 20)\n3. If System fails, use IP geolocation\n4. Return coordinates with confidence score\n```\n\n### Step 2: Get Weather\n```\n1. Query wttr.in with coordinates\n2. If timeout, retry with open-meteo\n3. If all fail, return error WEATHER_FAILED\n4. Return weather data with source and confidence\n```\n\n### Step 3: Combine & Report\n```\n1. Return { location, weather, confidence } object\n2. If either service failed, use partial data with lower confidence\n3. Report confidence score for transparency\n```\n\n## Workflow: Time Check with NTP Precision\n\n### Step 1: System Clock\n```\n1. Read local system time (instant)\n2. Record as baseline\n3. Proceed to NTP if precision requested\n```\n\n### Step 2: NTP Query\n```\n1. Query NTP server (pool.ntp.org)\n2. Calculate round-trip latency\n3. Compute adjusted time\n4. Compare with system time\n```\n\n### Step 3: Score & Return\n```\n1. If NTP successful: confidence = 0.98\n2. If NTP fails: confidence = 0.85 (system only)\n3. Return time object with all metadata\n```\n\n## Workflow: Handle No Sources Available\n\n### Step 1: Log the failure\n```\n1. Record which sources were attempted\n2. Note the failure reason (no hardware, no network, etc.)\n```\n\n### Step 2: Return error with context\n```\n1. Set confidence = 0\n2. Include error code and message\n3. Suggest manual input as recovery\n4. Do NOT make up or estimate data\n```\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nUnified information services hub combining location, weather, and time capabilities with multi-source geolocation, fixed-point weather forecasts, and multi-source time reporting with confidence scoring.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[johnsmithfan](https://clawhub.ai/user/johnsmithfan)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to route location, weather, and time requests through one interface and receive structured results with confidence scores.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can collect precise location data and send location or time queries to external providers.\n\nMitigation: Ask for user consent before using current-location sources, prefer manual city or coarse location when sufficient, and disclose which provider receives each query.\n\nRisk: Broad requests can trigger multiple services and disclose more context than the user intended.\n\nMitigation: Route to the narrowest matching service by default and run all services only when the user explicitly requests combined location, weather, and time output.\n\nRisk: Optional geolocation provider credentials may be required for enhanced accuracy.\n\nMitigation: Store credentials only in environment variables and avoid echoing, logging, or including API keys in outputs.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/johnsmithfan/skills/information-services)\n- [Location Service specifications](artifact/references/location.md)\n- [Weather Service specifications](artifact/references/weather.md)\n- [Time Service specifications](artifact/references/time.md)\n- [Method Patterns and Coordination](artifact/references/method-patterns.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, guidance, configuration, shell commands]\n\n**Output Format:** [JSON service results and Markdown guidance with inline shell commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Structured service results include service_type, data, confidence, and timestamps when available.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata and SKILL.md frontmatter)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: Information Services Owner: johnsmithfan Summary: Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-26T17:27:17.176Z | user v3.0.0 major rebuild: department-aligned merge, English-only, SKILL.md index-only, method-patterns.md + prompts/ folder Archi","codeSnippets":[],"executableExamples":[{"language":"json","snippet":"{\n  \"latitude\": 39.9042,\n  \"longitude\": 116.4074,\n  \"accuracy_meters\": 15,\n  \"confidence\": 0.92,\n  \"method\": \"triangulated\",\n  \"sources\": {\n    \"gps\": {\"lat\": 39.9045, \"lon\": 116.4071, \"accuracy\": 5, \"weight\": 0.6},\n    \"wifi\": {\"lat\": 39.9039, \"lon\": 116.4078, \"accuracy\": 30, \"weight\": 0.3},\n    \"ip\": {\"lat\": 39.9042, \"lon\": 116.4074, \"accuracy\": 5000, \"weight\": 0.1}\n  },\n  \"timestamp\": \"2026-04-26T10:30:00Z\"\n}"},{"language":"bash","snippet":"# Get location using all available methods\npython scripts/locate.py\n\n# Use specific method(s)\npython scripts/locate.py --method gps\npython scripts/locate.py --method system,ip,wifi\n\n# Output format\npython scripts/locate.py --format json\npython scripts/locate.py --format text"},{"language":"bash","snippet":"export GOOGLE_GEOLOCATION_API_KEY=\"your-key\"\nexport MLS_API_KEY=\"your-key\"\nexport UNWIRED_API_KEY=\"your-key\""},{"language":"text","snippet":"User query → Parse intent → Route to service → Execute → Score confidence → Return"},{"language":"json","snippet":"{\n  \"datetime\": \"2026-04-26T22:47:00+08:00\",\n  \"timestamp\": 1743084420,\n  \"timezone\": \"Asia/Hong_Kong\",\n  \"sources\": [\"system\", \"ntp\"],\n  \"confidence\": 0.96,\n  \"accuracy_ms\": 15\n}"},{"language":"json","snippet":"{\n  \"location\": {\"lat\": 39.9042, \"lon\": 116.4074},\n  \"current\": {\n    \"temp_c\": 18,\n    \"conditions\": \"partly cloudy\",\n    \"humidity\": 65,\n    \"wind_kmh\": 12\n  },\n  \"forecast\": [...],\n  \"confidence\": 0.88,\n  \"source\": \"wttr.in\"\n}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"Information Services\"\nslug: \"information-services\"\nversion: \"1.0.0\"\nlanguage: en\ndescription: |\n  Unified information services hub combining location, weather, and time capabilities.\n  Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, and multi-source\n  time reporting with confidence scoring. Single entry point for all location-aware services.\nlicense: MIT\ntriggers:\n  - location\n  - weather\n  - time\n  - GPS coordinates\n  - forecast\n  - current time\n  - where am i\n  - what time is it\n  - weather forecast\ninterface:\n  inputs:\n    type: object\n    schema:\n      type: object\n      properties:\n        service:\n          type: string\n          enum: [location, weather, time, all]\n          description: Which service to query\n        location:\n          type: string\n          description: City name or coordinates (lat,lon)\n        method:\n          type: string\n          description: Specific method (gps, system, ip, wifi, cellular)\n  outputs:\n    type: object\n    schema:\n      type: object\n      properties:\n        service_type:\n          type: string\n          description: location | weather | time\n        data:\n          type: object\n          description: Service-specific result data\n        confidence:\n          type: number\n          description: Confidence score 0-1\n  errors:\n    - code: LOC_UNAVAILABLE\n      message: No location source available\n    - code: WEATHER_FAILED\n      message: Weather API request failed\n    - code: TIME_FAILED\n      message: Time source unavailable\n    - code: NO_CREDENTIALS\n      message: Required API credentials missing\nquality:\n  idempotent: true\nmetadata:\n  category: information\n  standardized: true\n---\n\n# Information Services v1.0.0\n\n> Index & Quick Reference. Full specifications in [references/](references/).\n\n## Quick Reference\n\n### Role\nUnified hub for location, weather, and time services. Routes requests to the appropriate subsystem based on service type.\n\n### Department\nInformation\n\n## Section Index\n\n- [Location Service](references/location.md)\n- [Weather Service](references/weather.md)\n- [Time Service](references/time.md)\n- [Coordination Logic](references/method-patterns.md#coordination)\n\n## Services\n\n| Service | Capabilities | Source Skills |\n|---------|-------------|---------------|\n| **Location** | GPS, system, IP, WiFi, cellular triangulation | multi-source-locate |\n| **Weather** | Current conditions, forecast, multi-source fusion | locate-weather |\n| **Time** | System clock, NTP, web API, confidence scoring | multi-source-time |\n\n## Prompts\n\n- [01-implement-method.md](prompts/01-implement-method.md)\n- [02-robustness-checks.md](prompts/02-robustness-checks.md)\n- [03-test-cases.md](prompts/03-test-cases.md)\n- [04-documentation.md](prompts/04-documentation.md)\n- [05-workflow-execution.md](prompts/05-workflow-execution.md)\n\n---\n\n*See [references/](references/) for detailed service specifications.*"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7c9ynzajdkfj65cxt4wb6ysx82d4zh\",\n  \"slug\": \"information-services\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777224437176\n}"},{"path":"references/location.md","content":"# Location Service — Detailed Specifications\n\n> Part of information-services skill.\n\n---\n\n## 1. Supported Methods\n\n| Method | Accuracy | Use Case | API Key Required |\n|--------|----------|----------|-----------------|\n| **GPS** | 3-10m | Outdoor, navigation | No |\n| **System** | 10m–1km | Indoor/outdoor, OS-managed | No |\n| **IP** | 1-50km | City-level, quick detection | No |\n| **WiFi** | 10-100m | Indoor, urban environments | Optional |\n| **Cellular** | 100m-3km | Rural, GPS-denied | Optional |\n| **Triangulated** | Weighted centroid | Multi-method fusion | No |\n\n## 2. Triangulation Algorithm\n\nWhen multiple methods return results:\n1. Collect coordinates from each successful method\n2. Weight by inverse variance (accuracy-based weighting)\n3. Compute weighted centroid as final position\n4. Estimate combined accuracy from residual dispersion\n5. Report confidence score (0–100%)\n\n### Output Format\n```json\n{\n  \"latitude\": 39.9042,\n  \"longitude\": 116.4074,\n  \"accuracy_meters\": 15,\n  \"confidence\": 0.92,\n  \"method\": \"triangulated\",\n  \"sources\": {\n    \"gps\": {\"lat\": 39.9045, \"lon\": 116.4071, \"accuracy\": 5, \"weight\": 0.6},\n    \"wifi\": {\"lat\": 39.9039, \"lon\": 116.4078, \"accuracy\": 30, \"weight\": 0.3},\n    \"ip\": {\"lat\": 39.9042, \"lon\": 116.4074, \"accuracy\": 5000, \"weight\": 0.1}\n  },\n  \"timestamp\": \"2026-04-26T10:30:00Z\"\n}\n```\n\n## 3. Command Interface\n\n```bash\n# Get location using all available methods\npython scripts/locate.py\n\n# Use specific method(s)\npython scripts/locate.py --method gps\npython scripts/locate.py --method system,ip,wifi\n\n# Output format\npython scripts/locate.py --format json\npython scripts/locate.py --format text\n```\n\n## 4. Optional API Keys\n\nFor enhanced accuracy, configure in environment:\n```bash\nexport GOOGLE_GEOLOCATION_API_KEY=\"your-key\"\nexport MLS_API_KEY=\"your-key\"\nexport UNWIRED_API_KEY=\"your-key\"\n```\n\n## 5. Platform Notes\n\n- **Windows:** GeoCoordinateWatcher via PowerShell (WiFi + IP + GPS fusion)\n- **macOS:** CoreLocation via locationd daemon\n- **Linux:** GeoClue2 via D-Bus (Wi-Fi + cell fusion)"},{"path":"references/method-patterns.md","content":"# Information Services -- Method Patterns & Coordination\n\n> Overview document for information-services skill. Service-specific details in [location.md](location.md), [weather.md](weather.md), [time.md](time.md).\n\n---\n\n## 1. Trigger Scenarios\n\n| Category | Triggers |\n|----------|----------|\n| Location | \"where am I\", \"my coordinates\", \"get location\", \"GPS\" |\n| Weather | \"weather\", \"forecast\", \"temperature\", \"rain\" |\n| Time | \"what time is it\", \"current time\", \"time check\" |\n| Combined | \"weather and time\", \"location and forecast\" |\n| Emergency | \"emergency location\", \"SOS coordinates\" |\n\n## 2. Core Identity\n\n**Role:** Unified information services hub. Single entry point for all location, weather, and time queries.\n\n**Behavior:**\n- Route to appropriate subsystem based on service type\n- Use triangulation when multiple sources available\n- Report confidence score for all results\n- Graceful degradation when sources unavailable\n\n## 3. Coordination Logic\n\n### Request Routing\n\n```\nUser query → Parse intent → Route to service → Execute → Score confidence → Return\n```\n\n### Intent → Service Mapping\n\n| Intent Keywords | Service |\n|----------------|---------|\n| \"where\", \"location\", \"coordinates\", \"GPS\" | location |\n| \"weather\", \"forecast\", \"rain\", \"temperature\" | weather |\n| \"time\", \"clock\", \"date\", \"when\" | time |\n| Multiple / none | all (sequential) |\n\n### Fallback Chains\n\n**Location:**\nGPS → System → IP → WiFi → Cellular → Error(LOC_UNAVAILABLE)\n\n**Weather:**\nPrimary API → Backup API → IP-location-based → Error(WEATHER_FAILED)\n\n**Time:**\nSystem → NTP → Web API → Error(TIME_FAILED)\n\n## 4. Quality Metrics\n\n| Metric | Target |\n|--------|--------|\n| Location accuracy | < 100m for triangulated |\n| Weather freshness | < 30 min cache |\n| Time accuracy | < 1s from NTP |\n| Confidence scoring | ≥ 0.80 for all results |\n| Fallback success rate | > 95% |\n\n## 5. Constraints\n\n- No persistent storage of location data\n- No credential logging in output\n- Rate-limit compliance for all external APIs\n- Privacy: do not log coordinates without user request"},{"path":"references/time.md","content":"# Time Service — Detailed Specifications\n\n> Part of information-services skill.\n\n---\n\n## 1. Trigger Scenarios\n\n| Scenario | Example Phrase |\n|----------|----------------|\n| Current time | \"What time is it?\" |\n| Time check | \"Report current time with confidence\" |\n| Timezone conversion | \"What time is it in London?\" |\n| Precise time | \"Accurate time via NTP\" |\n\n## 2. Multi-Source Time Fusion\n\n### Source Priority\n\n| Priority | Source | Accuracy | Latency |\n|----------|--------|----------|---------|\n| 1 | System clock | OS-dependent | Instant |\n| 2 | NTP | ±10ms | 50-200ms |\n| 3 | Web API (worldtimeapi, etc.) | ±500ms | 100-500ms |\n\n### Workflow\n\n1. Query system clock (instant, baseline)\n2. If precision needed, query NTP server\n3. If NTP fails, query web time API\n4. Combine with confidence scoring\n5. Return unified result\n\n### Confidence Scoring\n\n| Source | Base Confidence | Notes |\n|--------|----------------|-------|\n| System clock | 0.85 | OS-synced, may drift |\n| NTP | 0.98 | Stratum-synchronized |\n| Web API | 0.92 | Server-dependent |\n\n### Output Format\n\n```json\n{\n  \"datetime\": \"2026-04-26T22:47:00+08:00\",\n  \"timestamp\": 1743084420,\n  \"timezone\": \"Asia/Hong_Kong\",\n  \"sources\": [\"system\", \"ntp\"],\n  \"confidence\": 0.96,\n  \"accuracy_ms\": 15\n}\n```\n\n## 3. Voice Output (Optional)\n\nWhen TTS is available and requested, optionally announce time in natural language:\n- \"It's 10:47 PM, Saturday, April 26th.\"\n- Timezone-aware natural speech formatting"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a... Skill: Information Services Owner: johnsmithfan Summary: Unified information services hub combining location, weather, and time capabilities. Multi-source geolocation (GPS/IP/WiFi), fixed-point weather forecasts, a... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-26T17:27:17.176Z | user v3.0.0 major rebuild: department-aligned merge, English-only, SKILL.md index-only, method-patterns.md + prompts/ folder Archi","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1177,"uniquenessScore":48,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T20:33:37.079Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-14T18:12:00.188Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}