[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MJBT9XQEYQXC1F7QC0B90":3,"skill-same:01M77MJBT9XQEYQXC1F7QC0B90":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M77MJBT9XQEYQXC1F7QC0B90","himalaya",null,"CLI to manage emails via IMAP\u002FSMTP. Use himalaya to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).","pan-hh\u002Fmateclaw-hybrid","pan-hh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F244917262?v=4","01M77MGAQE06HNBEHKYN7180V6","01M77MGARJ7JXWZYKA9RMM968R",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fhimalaya\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: himalaya\ndescription: \"CLI to manage emails via IMAP\u002FSMTP. Use himalaya to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).\"\noptional: true\ndependencies:\n  commands:\n    - himalaya\nplatforms:\n  - macos\n  - linux\n---\n\n# Himalaya Email CLI\n\nHimalaya is a CLI email client that lets you manage emails from the terminal using IMAP, SMTP, Notmuch, or Sendmail backends.\n\n## References\n\n- `references\u002Fconfiguration.md` (config file setup + IMAP\u002FSMTP authentication)\n\n## Prerequisites\n\n1. **Himalaya CLI** - the `himalaya` binary must already be on `PATH`. Check with `himalaya --version`.\n   - **Recommended: v1.2.0 or newer.** Older releases can fail against some IMAP servers.\n2. A configuration file at `~\u002F.config\u002Fhimalaya\u002Fconfig.toml`\n3. IMAP\u002FSMTP credentials configured (password stored securely)\n\n## Configuration Setup\n\nRun the interactive wizard to set up an account:\n\n```bash\nhimalaya account configure default\n```\n\nOr create `~\u002F.config\u002Fhimalaya\u002Fconfig.toml` manually:\n\n```toml\n[accounts.personal]\nemail = \"you@example.com\"\ndisplay-name = \"Your Name\"\ndefault = true\n\nbackend.type = \"imap\"\nbackend.host = \"imap.example.com\"\nbackend.port = 993\nbackend.encryption.type = \"tls\"\nbackend.login = \"you@example.com\"\nbackend.auth.type = \"password\"\nbackend.auth.cmd = \"pass show email\u002Fimap\"  # or use keyring\n\nmessage.send.backend.type = \"smtp\"\nmessage.send.backend.host = \"smtp.example.com\"\nmessage.send.backend.port = 587\nmessage.send.backend.encryption.type = \"start-tls\"\nmessage.send.backend.login = \"you@example.com\"\nmessage.send.backend.auth.type = \"password\"\nmessage.send.backend.auth.cmd = \"pass show email\u002Fsmtp\"\n```\n\nIf using 163 mail, add `backend.extensions.id.send-after-auth = true`.\n\n## Common Operations\n\n### List Folders\n\n```bash\nhimalaya folder list\n```\n\n### List Emails\n\n```bash\nhimalaya envelope list                           # INBOX (default)\nhimalaya envelope list --folder \"Sent\"           # Specific folder\nhimalaya envelope list --page 1 --page-size 20   # With pagination\n```\n\n### Search Emails\n\n```bash\nhimalaya envelope list from john@example.com subject meeting\n```\n\n### Read an Email\n\n```bash\nhimalaya message read 42          # Plain text\nhimalaya message export 42 --full # Raw MIME\n```\n\n### Send \u002F Compose Emails\n\n**Recommended:** Use `template write | template send` pipeline:\n\n```bash\nexport EDITOR=cat\nhimalaya template write \\\n  -H \"To: recipient@example.com\" \\\n  -H \"Subject: Email Subject\" \\\n  \"Email body content\" | himalaya template send\n```\n\n**With CC:**\n\n```bash\nexport EDITOR=cat\nhimalaya template write \\\n  -H \"To: recipient@example.com\" \\\n  -H \"Cc: cc@example.com\" \\\n  -H \"Subject: Email Subject\" \\\n  \"Email body content\" | himalaya template send\n```\n\n**With attachments (Python fallback):**\n\n```python\nimport smtplib\nfrom email.mime.multipart import MIMEMultipart\nfrom email.mime.text import MIMEText\nfrom email.mime.base import MIMEBase\nfrom email import encoders\n\nmsg = MIMEMultipart()\nmsg['From'] = 'sender@example.com'\nmsg['To'] = 'recipient@example.com'\nmsg['Subject'] = 'Email with attachment'\nmsg.attach(MIMEText('Email body', 'plain'))\n\nwith open('\u002Fpath\u002Fto\u002Ffile.pdf', 'rb') as f:\n    part = MIMEBase('application', 'octet-stream')\n    part.set_payload(f.read())\n    encoders.encode_base64(part)\n    part.add_header('Content-Disposition', 'attachment; filename=\"file.pdf\"')\n    msg.attach(part)\n\nserver = smtplib.SMTP_SSL('smtp.example.com', 465)\nserver.login('sender@example.com', 'password')\nserver.send_message(msg)\nserver.quit()\n```\n\n**Known limitations:**\n- MML attachment parsing may fail in himalaya v1.1.0 - use Python for attachments\n- `message write` hangs in non-interactive mode - use `template write | template send`\n- `message send` may fail with header parsing - use `template send`\n\n**Configuration requirement:** Set `message.send.save-to-folder` in config.toml:\n\n```toml\n[accounts.default]\nmessage.send.save-to-folder = \"Sent\"\n```\n\n### Move\u002FCopy Emails\n\n```bash\nhimalaya message move 42 \"Archive\"\nhimalaya message copy 42 \"Important\"\n```\n\n### Delete an Email\n\n```bash\nhimalaya message delete 42\n```\n\n### Manage Flags\n\n```bash\nhimalaya flag add 42 --flag seen\nhimalaya flag remove 42 --flag seen\n```\n\n## Multiple Accounts\n\n```bash\nhimalaya account list                      # List accounts\nhimalaya --account work envelope list      # Use specific account\n```\n\n## Attachments\n\n```bash\nhimalaya attachment download 42              # Save attachments\nhimalaya attachment download 42 --dir ~\u002Fdl   # Save to directory\n```\n\n## Output Formats\n\n```bash\nhimalaya envelope list --output json\nhimalaya envelope list --output plain\n```\n\n## Debugging\n\n```bash\nRUST_LOG=debug himalaya envelope list\nRUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope list\n```\n\n## Tips\n\n- Message IDs are relative to the current folder; re-list after folder changes.\n- Store passwords securely using `pass`, system keyring, or a command.\n- **For automation:** Always use `template write | template send` with `export EDITOR=cat`.\n- **163 Mail:** Set `backend.extensions.id.send-after-auth = true` and `message.send.save-to-folder = \"Sent\"`.\n- **Folder names:** Use English folder names for better compatibility.\n","# Himalaya Email CLI\n\nHimalaya is a CLI email client that lets you manage emails from the terminal using IMAP, SMTP, Notmuch, or Sendmail backends.\n\n## References\n\n- `references\u002Fconfiguration.md` (config file setup + IMAP\u002FSMTP authentication)\n\n## Prerequisites\n\n1. **Himalaya CLI** - the `himalaya` binary must already be on `PATH`. Check with `himalaya --version`.\n   - **Recommended: v1.2.0 or newer.** Older releases can fail against some IMAP servers.\n2. A configuration file at `~\u002F.config\u002Fhimalaya\u002Fconfig.toml`\n3. IMAP\u002FSMTP credentials configured (password stored securely)\n\n## Configuration Setup\n\nRun the interactive wizard to set up an account:\n\n```bash\nhimalaya account configure default\n```\n\nOr create `~\u002F.config\u002Fhimalaya\u002Fconfig.toml` manually:\n\n```toml\n[accounts.personal]\nemail = \"you@example.com\"\ndisplay-name = \"Your Name\"\ndefault = true\n\nbackend.type = \"imap\"\nbackend.host = \"imap.example.com\"\nbackend.port = 993\nbackend.encryption.type = \"tls\"\nbackend.login = \"you@example.com\"\nbackend.auth.type = \"password\"\nbackend.auth.cmd = \"pass show email\u002Fimap\"  # or use keyring\n\nmessage.send.backend.type = \"smtp\"\nmessage.send.backend.host = \"smtp.example.com\"\nmessage.send.backend.port = 587\nmessage.send.backend.encryption.type = \"start-tls\"\nmessage.send.backend.login = \"you@example.com\"\nmessage.send.backend.auth.type = \"password\"\nmessage.send.backend.auth.cmd = \"pass show email\u002Fsmtp\"\n```\n\nIf using 163 mail, add `backend.extensions.id.send-after-auth = true`.\n\n## Common Operations\n\n### List Folders\n\n```bash\nhimalaya folder list\n```\n\n### List Emails\n\n```bash\nhimalaya envelope list                           # INBOX (default)\nhimalaya envelope list --folder \"Sent\"           # Specific folder\nhimalaya envelope list --page 1 --page-size 20   # With pagination\n```\n\n### Search Emails\n\n```bash\nhimalaya envelope list from john@example.com subject meeting\n```\n\n### Read an Email\n\n```bash\nhimalaya message read 42          # Plain text\nhimalaya message export 42 --full # Raw MIME\n```\n\n### Send \u002F Compose Emails\n\n**Recommended:** Use `template write | template send` pipeline:\n\n```bash\nexport EDITOR=cat\nhimalaya template write \\\n  -H \"To: recipient@example.com\" \\\n  -H \"Subject: Email Subject\" \\\n  \"Email body content\" | himalaya template send\n```\n\n**With CC:**\n\n```bash\nexport EDITOR=cat\nhimalaya template write \\\n  -H \"To: recipient@example.com\" \\\n  -H \"Cc: cc@example.com\" \\\n  -H \"Subject: Email Subject\" \\\n  \"Email body content\" | himalaya template send\n```\n\n**With attachments (Python fallback):**\n\n```python\nimport smtplib\nfrom email.mime.multipart import MIMEMultipart\nfrom email.mime.text import MIMEText\nfrom email.mime.base import MIMEBase\nfrom email import encoders\n\nmsg = MIMEMultipart()\nmsg['From'] = 'sender@example.com'\nmsg['To'] = 'recipient@example.com'\nmsg['Subject'] = 'Email with attachment'\nmsg.attach(MIMEText('Email body', 'plain'))\n\nwith open('\u002Fpath\u002Fto\u002Ffile.pdf', 'rb') as f:\n    part = MIMEBase('application', 'octet-stream')\n    part.set_payload(f.read())\n    encoders.encode_base64(part)\n    part.add_header('Content-Disposition', 'attachment; filename=\"file.pdf\"')\n    msg.attach(part)\n\nserver = smtplib.SMTP_SSL('smtp.example.com', 465)\nserver.login('sender@example.com', 'password')\nserver.send_message(msg)\nserver.quit()\n```\n\n**Known limitations:**\n- MML attachment parsing may fail in himalaya v1.1.0 - use Python for attachments\n- `message write` hangs in non-interactive mode - use `template write | template send`\n- `message send` may fail with header parsing - use `template send`\n\n**Configuration requirement:** Set `message.send.save-to-folder` in config.toml:\n\n```toml\n[accounts.default]\nmessage.send.save-to-folder = \"Sent\"\n```\n\n### Move\u002FCopy Emails\n\n```bash\nhimalaya message move 42 \"Archive\"\nhimalaya message copy 42 \"Important\"\n```\n\n### Delete an Email\n\n```bash\nhimalaya message delete 42\n```\n\n### Manage Flags\n\n```bash\nhimalaya flag add 42 --flag seen\nhimalaya flag remove 42 --flag seen\n```\n\n## Multiple Accounts\n\n```bash\nhimalaya account list                      # List accounts\nhimalaya --account work envelope list      # Use specific account\n```\n\n## Attachments\n\n```bash\nhimalaya attachment download 42              # Save attachments\nhimalaya attachment download 42 --dir ~\u002Fdl   # Save to directory\n```\n\n## Output Formats\n\n```bash\nhimalaya envelope list --output json\nhimalaya envelope list --output plain\n```\n\n## Debugging\n\n```bash\nRUST_LOG=debug himalaya envelope list\nRUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope list\n```\n\n## Tips\n\n- Message IDs are relative to the current folder; re-list after folder changes.\n- Store passwords securely using `pass`, system keyring, or a command.\n- **For automation:** Always use `template write | template send` with `export EDITOR=cat`.\n- **163 Mail:** Set `backend.extensions.id.send-after-auth = true` and `message.send.save-to-folder = \"Sent\"`.\n- **Folder names:** Use English folder names for better compatibility.\n",{"name":5,"optional":23,"platforms":24,"description":7,"dependencies":27},true,[25,26],"macos","linux",{"commands":28},[5],"dev","26b960a788645da1daf5b6c1c8c7ffe1a78ab755","mateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fhimalaya","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid","https:\u002F\u002Fgithub.com\u002Fpan-hh","2026-06-25 12:43:25",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":23},[37,40,43],{"tool":38,"command":39},"npx","npx skills add pan-hh\u002Fmateclaw-hybrid --skill himalaya",{"tool":41,"command":42},"bunx","bunx skills add pan-hh\u002Fmateclaw-hybrid --skill himalaya",{"tool":44,"command":45},"pnpm","pnpm dlx skills add pan-hh\u002Fmateclaw-hybrid --skill himalaya","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fhimalaya\u002FSKILL.md",[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fconfiguration.md","REFERENCE","参考文档",4084,"https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fhimalaya\u002Freferences\u002Fconfiguration.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M77MNZW6PYRTH5KM9121RYAK","sample","Test fixture for SkillBundleMaterializer.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Ftest\u002Fresources\u002Ftest-bundles\u002Fsample\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M77MNNA8HYFP854EHAEGZ838","x_intel","Read X (Twitter) posts, search, timelines and user profiles via the official xurl CLI.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fx_intel\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M77MNJRFN8KNSY1PXRFBV97S","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M77MNF0PF06YCNA9TWK85PE9","webhook-subscriptions","Webhook subscriptions: event-driven agent runs.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fwebhook-subscriptions\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M77MNATFKP03KPE7HM7W29MC","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M77MN78ZK5EKN7HT2ZKYDPKM","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]