← Back to Skills Marketplace
rhaone21

Id Emas Pro

by Rhaone21 · GitHub ↗ · v1.3.0 · MIT-0
linuxdarwinwin32 ⚠ suspicious
114
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install id-emas-pro
Description
Cek harga emas Indonesia real-time (Antam/Logam Mulia), bandingkan brand, set alert harga, analisis AI via Kimi.
README (SKILL.md)

Skill: id-emas-pro 🥇

Kamu adalah asisten harga emas Indonesia yang andal. Skill ini membantumu mengecek harga emas real-time, membandingkan brand, mengatur alert harga, dan memberikan analisis AI.

Cara Kerja

Semua operasi dijalankan via exec tool dengan memanggil script Node.js di folder scripts/ dalam direktori skill ini. Selalu gunakan path absolut ke script.

Tentukan path skill dengan:

SKILL_DIR=$(dirname "$0")  # atau gunakan path yang dikonfigurasi user

Perintah yang Didukung

/emas — Cek harga emas hari ini

Trigger: user mengetik /emas, "harga emas", "emas hari ini", "berapa harga emas"

Jalankan:

node \x3CSKILL_DIR>/scripts/main.js price --brand antam

Format respons:

💰 Harga Emas Logam Mulia Antam
📅 [tanggal hari ini]

Beli  : Rp X.XXX.XXX/gram
Jual  : Rp X.XXX.XXX/gram
Spread: Rp XX.XXX

_Data dari logammulia.com_

/emas compare — Bandingkan harga antar brand

Trigger: "bandingkan emas", "compare emas", "/emas compare"

Jalankan:

node \x3CSKILL_DIR>/scripts/main.js compare

Tampilkan tabel perbandingan semua brand yang tersedia sesuai tier user.


/emas alert set — Set alert harga

Trigger: "alert emas", "kasih tahu kalau emas", "/emas alert set"

Parameter yang perlu ditanya ke user:

  1. Brand (default: antam)
  2. Kondisi: naik di atas atau turun di bawah
  3. Harga target (dalam Rupiah)
  4. Tipe harga: beli atau jual

Jalankan:

node \x3CSKILL_DIR>/scripts/main.js alert set \
  --userId \x3CuserId> \
  --brand antam \
  --condition above \
  --price 1200000 \
  --type buy

/emas alert list — Lihat alert aktif

node \x3CSKILL_DIR>/scripts/main.js alert list --userId \x3CuserId>

/emas alert delete — Hapus alert

node \x3CSKILL_DIR>/scripts/main.js alert delete --userId \x3CuserId> --id \x3CalertId>

/emas ai — Analisis AI (tier AI only)

Trigger: "analisis emas", "prediksi emas", "/emas ai"

Cek tier user dulu. Kalau bukan tier ai, jawab:

"Fitur analisis AI membutuhkan tier AI ($49/bulan). Upgrade untuk mengakses analisis dan prediksi harga dari Kimi 2.5."

Kalau tier ai:

node \x3CSKILL_DIR>/scripts/main.js ai-analysis --userId \x3CuserId>

Penanganan Error

Kalau script gagal:

  1. Cek apakah Node.js tersedia: node --version
  2. Cek apakah dependensi terinstall: ls \x3CSKILL_DIR>/node_modules
  3. Kalau belum: cd \x3CSKILL_DIR> && npm install
  4. Coba jalankan ulang perintah

Kalau scraping gagal (situs down/berubah):

"Maaf, tidak bisa mengambil harga emas saat ini. Situs logammulia.com mungkin sedang tidak bisa diakses. Coba lagi beberapa menit."


Aturan Tier

Fitur Free Pro AI
Cek harga ✅ 3 brand ✅ 10 brand ✅ semua
Compare
Alert
Portfolio
Export
Analisis AI

Kalau user meminta fitur di luar tier-nya, jelaskan dengan sopan fitur apa yang dibutuhkan dan tier berapa.


Cron Job Handlers

emas-alert-check (setiap jam)

Trigger: sistem mengirim pesan berisi alert check

Jalankan:

node \x3CSKILL_DIR>/scripts/main.js alert check --userId all

Kalau ada alert yang trigger, output akan mengandung [NOTIFY:\x3CuserId>] — forward pesan tersebut ke user yang bersangkutan via channel yang aktif.


emas-morning-brief (09.30 WIB)

Trigger: sistem mengirim pesan berisi morning brief atau price --brand antam

Jalankan:

node \x3CSKILL_DIR>/scripts/main.js price --brand antam

Kirim hasilnya ke semua user yang subscribe morning brief (tier Pro/AI). Format pesan dengan tambahan:

🌅 *Selamat pagi! Update harga emas hari ini:*

[hasil price command]

Catatan Penting

  • Selalu tampilkan waktu scraping agar user tahu data seberapa fresh
  • Harga emas berubah setiap hari kerja; weekend/libur pakai harga terakhir
  • Jangan pernah hardcode harga — selalu ambil dari script
  • Format angka selalu pakai format Indonesia: Rp 1.234.567
Usage Guidance
Before installing, review and decide: 1) Source trust — install only from a verified repo; the package lists 'unknown' source and cloning placeholders. 2) KIMI_API_KEY — the AI feature requires an API key (KIMI_API_KEY) even though metadata says none; only set this key if you intend to use AI, and store it in a secure place (avoid embedding secrets in public configs). 3) Tool permissions — SKILL.md recommends granting 'exec' and 'group:fs'; consider restricting filesystem access to the skill's directory or using an isolated session to limit blast radius. 4) SKILL.md content review — because SKILL.md is injected into the system prompt, read it end-to-end for any unexpected instructions (scanner flagged a prompt-injection pattern). 5) Cron jobs & notifications — cron commands will run periodically and may send notifications for 'userId all'; confirm you want scheduled runs and that notification forwarding behavior is acceptable. 6) If you proceed, run the skill in an isolated agent/session first, audit the .data files it creates, and verify network endpoints (scrapers target public sites; AI calls go to api.moonshot.cn). If you want, provide the upstream repository URL for a deeper provenance check — that would increase confidence.
Capability Analysis
Type: OpenClaw Skill Name: id-emas-pro Version: 1.3.0 The 'id-emas-pro' skill is a comprehensive gold price tracking and analysis tool for the Indonesian market. It features multi-source web scraping (Antam, Pegadaian, Treasury, etc.), local data persistence for alerts and portfolios, and integration with the Moonshot (Kimi) AI API for market analysis. While it utilizes high-privilege capabilities such as shell execution (via Node.js scripts) and network access for scraping, these actions are strictly aligned with its stated purpose. The code is well-structured, includes extensive documentation (README, RHAONE_GUIDE, CRON.md), and contains robust error handling and input sanitization (e.g., in scripts/main.js and scripts/scraper.js) to mitigate common vulnerabilities.
Capability Assessment
Purpose & Capability
The code and instructions match the stated purpose (scraping Indonesian gold prices, alerts, portfolio, AI analysis). However metadata/requirements claim no environment variables required while README/SKILL.md and runtime code expect a KIMI_API_KEY for the AI feature. SKILL.md also recommends granting agent permissions (exec, group:fs) that go beyond the simple 'node' binary requirement declared in the top-level metadata.
Instruction Scope
The SKILL.md is the runtime instruction injected into the agent's system prompt and instructs the agent to run node scripts via exec and to configure openclaw.json with tool allowances. The pre-scan found a 'system-prompt-override' pattern in SKILL.md — SKILL.md will be visible to the agent as instructions, so any malicious or confusing phrasing there could influence agent behavior. The instructions also ask the agent/operator to create cron jobs that run alert checks as 'userId all' and to forward '[NOTIFY:<userId>]' outputs to channels — behavior that will access users' data and send messages automatically, which is within purpose but worth explicit review.
Install Mechanism
There is no remote install/download step in the skill package (instruction-only install spec). Code is bundled with the skill; package.json requires Node >=18 and lists no external npm deps. This is low-risk from an installer perspective, but the source is 'unknown' and README shows placeholder repo URLs — prefer installing from a trusted origin.
Credentials
The skill's metadata declares no required env vars, yet multiple files (README, RHAONE guide, and scripts/main.js) expect KIMI_API_KEY for AI features. SKILL.md and RHAONE_GUIDE also recommend adding KIMI_API_KEY to openclaw.json and permitting tools like 'exec' and 'group:fs'. Requesting broad filesystem tool privileges (group:fs) is more than strictly necessary for per-skill .data read/write and expands access surface; the undeclared secret (KIMI_API_KEY) is a mismatch that could cause confusion or accidental secret exposure.
Persistence & Privilege
The skill does not set always:true and does not autonomously force itself into every agent execution. However SKILL.md and CRON.md/RHAONE_GUIDE provide explicit cron job commands (openclaw cron add ...) that schedule periodic runs (alert checks, morning brief). That is expected for alerts, but cron jobs will make the skill active on a schedule and may run with 'userId all', so confirm you want recurring automated access. SKILL.md also recommends changing openclaw.json to allow exec and group:fs, which is a configuration-level privilege change.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install id-emas-pro
  3. After installation, invoke the skill by name or use /id-emas-pro
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
Version 1.3.0 — Adds new features and enhancements for gold price monitoring. - Added cron job handlers for periodic alert checks and morning brief price updates (see new CRON.md). - Introduced portfolio and history tracking scripts to expand Pro and AI tier features. - Implemented new script modules: cache, health monitoring, retry logic, and script testing. - Updated skill documentation (SKILL.md) to reflect new cron features and usage instructions. - Enhanced error handling and clarified tier rules across commands. - Improved brand config and script structure for maintainability.
v1.0.3
- Major refactor: skill structure simplified, removing legacy and configuration files. - All business logic consolidated in main.js and storage.js for simpler maintenance. - Documentation updated to include clearer command formats, tier rules, and CRON job usage. - Removed custom configs (brands, thresholds, tiers) and TypeScript/types support. - AI/alert/compare/morning brief cron handler details now included in main docs.
v1.0.2
id-emas-pro 1.0.2 - Metadata in _meta.json updated. - No changes to feature set or commands. - All user-facing documentation and functions remain the same.
v1.0.1
- Metadata or configuration file (_meta.json) updated. - No changes to user-facing features or functionality. - Skill documentation, commands, and features remain as before.
v1.0.0
- Initial release of id-emas-pro, a skill for real-time Indonesian gold price checks (Antam/Logam Mulia). - Supports brand comparison, price alerts, tiered features (Free/Pro/AI), and AI analysis for eligible users. - All operations use Node.js scripts; includes detailed CLI usage and error handling. - Responds with formatted Indonesian currency and displays scraping timestamps.
Metadata
Slug id-emas-pro
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Id Emas Pro?

Cek harga emas Indonesia real-time (Antam/Logam Mulia), bandingkan brand, set alert harga, analisis AI via Kimi. It is an AI Agent Skill for Claude Code / OpenClaw, with 114 downloads so far.

How do I install Id Emas Pro?

Run "/install id-emas-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Id Emas Pro free?

Yes, Id Emas Pro is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Id Emas Pro support?

Id Emas Pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Id Emas Pro?

It is built and maintained by Rhaone21 (@rhaone21); the current version is v1.3.0.

💬 Comments