mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
Update here.now skill bundle
Made-with: Cursor
This commit is contained in:
parent
f7dfd4ae36
commit
21cc9c8d32
3 changed files with 521 additions and 17 deletions
|
|
@ -1,14 +1,17 @@
|
|||
---
|
||||
name: here-now
|
||||
name: here.now
|
||||
description: >
|
||||
Publish files and folders to the web instantly. Static hosting for HTML sites,
|
||||
images, PDFs, and any file type. Sites can connect to external APIs (LLMs,
|
||||
databases, email, payments) via proxy routes with server-side credential
|
||||
injection. Use when asked to "publish this", "host this", "deploy this",
|
||||
"share this on the web", "make a website", "put this online", "upload to
|
||||
the web", "create a webpage", "share a link", "serve this site", "generate
|
||||
a URL", or "build a chatbot". Outputs a live, shareable URL at {slug}.here.now.
|
||||
version: 1.14.0
|
||||
here.now lets agents publish websites and store private files in cloud
|
||||
Drives. Use Sites to publish HTML, documents, images, PDFs, videos, and
|
||||
static files to live URLs at {slug}.here.now or custom domains. Use Drives as private cloud
|
||||
folders where agents can store files (documents, context, memory, plans,
|
||||
assets, media, research, code, etc), share them with other agents, and
|
||||
continue across sessions and tools. Use when asked to "publish this", "host
|
||||
this", "deploy this", "share this on the web", "make a website", "put this
|
||||
online", "create a webpage", "generate a URL", "build a chatbot", "save this
|
||||
to my Drive", "store this for later", "write this to cloud storage", "share a
|
||||
folder with another agent", or "use my here.now Drive".
|
||||
version: 1.15.3
|
||||
author: here.now
|
||||
license: MIT
|
||||
prerequisites:
|
||||
|
|
@ -16,14 +19,19 @@ prerequisites:
|
|||
platforms: [macos, linux]
|
||||
metadata:
|
||||
hermes:
|
||||
tags: [here.now, herenow, publish, deploy, hosting, static-site, web, share, URL]
|
||||
tags: [here.now, herenow, publish, deploy, hosting, static-site, web, share, URL, drive, storage]
|
||||
homepage: https://here.now
|
||||
requires_toolsets: [terminal]
|
||||
---
|
||||
|
||||
# here.now
|
||||
|
||||
Create a live URL from any file or folder. Static hosting with optional proxy routes for calling external APIs server-side.
|
||||
here.now lets agents publish websites and store private files in cloud Drives.
|
||||
|
||||
Use here.now for two jobs:
|
||||
|
||||
- **Sites**: publish websites and files at `{slug}.here.now`.
|
||||
- **Drives**: store private agent files in cloud folders.
|
||||
|
||||
## Current docs
|
||||
|
||||
|
|
@ -40,6 +48,7 @@ Read the docs:
|
|||
|
||||
Topics that require current docs (do not rely on local skill text alone):
|
||||
|
||||
- Drives and Drive sharing
|
||||
- custom domains
|
||||
- payments and payment gating
|
||||
- forking
|
||||
|
|
@ -58,8 +67,11 @@ If the docs fetch fails or times out, continue with the local skill and live API
|
|||
|
||||
- Required binaries: `curl`, `file`, `jq`
|
||||
- Optional environment variable: `$HERENOW_API_KEY`
|
||||
- Optional Drive token variable: `$HERENOW_DRIVE_TOKEN`
|
||||
- Optional credentials file: `~/.herenow/credentials`
|
||||
- Skill script path: `${HERMES_SKILL_DIR}/scripts/publish.sh`
|
||||
- Skill helper paths:
|
||||
- `${HERMES_SKILL_DIR}/scripts/publish.sh` for publishing sites
|
||||
- `${HERMES_SKILL_DIR}/scripts/drive.sh` for private Drive storage
|
||||
|
||||
## Create a site
|
||||
|
||||
|
|
@ -90,6 +102,23 @@ The script auto-loads the `claimToken` from `.herenow/state.json` when updating
|
|||
|
||||
Authenticated updates require a saved API key.
|
||||
|
||||
## Use a Drive
|
||||
|
||||
Use a Drive when the user wants private cloud storage for agent files: documents, context, memory, plans, assets, media, research, code, and anything else that should persist without being published as a website.
|
||||
|
||||
Every signed-in account has a default Drive named `My Drive`.
|
||||
|
||||
```bash
|
||||
DRIVE="${HERMES_SKILL_DIR}/scripts/drive.sh"
|
||||
bash "$DRIVE" default
|
||||
bash "$DRIVE" ls "My Drive"
|
||||
bash "$DRIVE" put "My Drive" notes/today.md --from ./notes/today.md
|
||||
bash "$DRIVE" cat "My Drive" notes/today.md
|
||||
bash "$DRIVE" share "My Drive" --perms write --prefix notes/ --ttl 7d
|
||||
```
|
||||
|
||||
Use scoped Drive tokens for agent-to-agent handoff. If you receive a `herenow_drive` share block, use its `token` as `Authorization: Bearer <token>` against `api_base`, respect `pathPrefix` when present, and preserve ETags on writes. A `pathPrefix` of `null` means full-Drive access. If the skill is available, prefer `drive.sh`; otherwise call the listed API operations directly.
|
||||
|
||||
## API key storage
|
||||
|
||||
The publish script reads the API key from these sources (first match wins):
|
||||
|
|
@ -159,13 +188,21 @@ Never present this local file path as a URL, and never use it as source of truth
|
|||
|
||||
## What to tell the user
|
||||
|
||||
For published sites:
|
||||
|
||||
- Always share the `siteUrl` from the current script run.
|
||||
- Read and follow `publish_result.*` lines from script stderr to determine auth mode.
|
||||
- When `publish_result.auth_mode=authenticated`: tell the user the site is **permanent** and saved to their account. No claim URL is needed.
|
||||
- When `publish_result.auth_mode=anonymous`: tell the user the site **expires in 24 hours**. Share the claim URL (if `publish_result.claim_url` is non-empty and starts with `https://`) so they can keep it permanently. Warn that claim tokens are only returned once and cannot be recovered.
|
||||
- Never tell the user to inspect `.herenow/state.json` for claim URLs or auth status.
|
||||
|
||||
## Script options
|
||||
For Drives:
|
||||
|
||||
- Do not describe Drive files as public URLs.
|
||||
- Tell the user Drive contents are private unless shared with a scoped token.
|
||||
- When sharing access with another agent, prefer a scoped token with a narrow `pathPrefix` and short TTL.
|
||||
|
||||
## publish.sh options
|
||||
|
||||
| Flag | Description |
|
||||
| ---------------------- | -------------------------------------------- |
|
||||
|
|
@ -181,9 +218,9 @@ Never present this local file path as a URL, and never use it as source of truth
|
|||
| `--spa` | Enable SPA routing (serve index.html for unknown paths) |
|
||||
| `--forkable` | Allow others to fork this site |
|
||||
|
||||
## Beyond the script
|
||||
## Beyond publish.sh
|
||||
|
||||
For all other operations — delete, metadata, passwords, payments, domains, handles, links, variables, proxy routes, forking, duplication, and more — see the current docs:
|
||||
For Drive operations, use `drive.sh` or the Drive API. For broader account and site management — delete, metadata, passwords, payments, domains, handles, links, variables, proxy routes, forking, duplication, and more — see the current docs:
|
||||
|
||||
→ **https://here.now/docs**
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue