auto-save
SKILL: auto-save
quark-auto-save (quark-auto-save) is an open-source auto-save service for Quark Cloud Drive. It automatically saves and manages cloud drive resources (e.g., shared links, folders) by converting them into persistent save tasks.
Security Guidelines
This skill follows these security guidelines to protect the API token:
- Do not expose the
AUTO_SAVE_TOKENvalue in chat, files, code, logs, or command arguments. - All API calls should go through the provided script (
scripts/api.cjs) rather than usingcurl,wget,fetch, or other HTTP clients to call auto-save endpoints directly. - Environment variables (
AUTO_SAVE_BASE_URL,AUTO_SAVE_TOKEN) are read viaprocess.envat runtime only. Do not hardcode credentials into any file. - Sensitive values in logs or output are automatically sanitized by
scripts/sanitize.cjs. .envfiles must not be committed to version control.- Do not modify the security scripts to disable masking or redirect output.
How to Execute
- First invocation only — read
${CLAUDE_SKILL_DIR}/docs/setup.mdfor configuration, auth, and runtime detection. - Match the action from the table below.
- Read the corresponding doc file for detailed steps.
- If no arguments or unrecognized action, show the help table below.
- If the user asks about auto-save (what it is, how to use a command, or any API usage question) — read
${CLAUDE_SKILL_DIR}/docs/help.mdand follow the instructions there.
Actions
| Action | Description | Details |
|---|---|---|
add-task |
Add a new save task | docs/actions-tasks.md |
config |
Get the overall configuration | docs/actions-config.md |
update-config |
Update the overall configuration | docs/actions-config.md |
run-now |
Run the script task immediately | docs/actions-run.md |
suggestions |
Search for task suggestions | docs/actions-tasks.md |
help |
FAQ and help | docs/help.md |
help (or no arguments) — Show available actions
| Action | Usage | Description |
|---|---|---|
add-task |
add-task <share_url> [--name=xxx] |
Add a new auto-save task |
config |
config |
Get the overall configuration |
update-config |
update-config <config_json> |
Update the overall configuration |
run-now |
run-now |
Run the script task immediately |
suggestions |
suggestions <query> |
Search for task suggestions |
help |
help <question> |
Answer questions about auto-save |
More from tnnevol/skills
memos
Assistant for Memos (https://github.com/usememos/memos), an open-source self-hosted memo/note tool. Use when the user asks about Memos, creating/listing/updating/deleting memos, managing tags, or securely interacting with a Memos instance via API.
13pnpm
Node.js 包管理器,具有严格的依赖解析。在运行 pnpm 特定命令、配置工作区或使用目录、补丁或覆盖管理依赖项时使用。
8vue
Vue 3 组合式 API、script setup 宏、响应式系统和内置组件。在编写 Vue SFC、defineProps/defineEmits/defineModel、监视器或使用 Transition/Teleport/Suspense/KeepAlive 时使用。
6vitepress
VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.
6tsdown
Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
6vitest
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
6