Snapshot
Skill walnut1024/ShareSlices/skill/shareslices/evals/snapshot
Publish and manage local static artifacts through the ShareSlices CLI. Use when an agent needs to share HTML, a built static site, a ZIP, or selected local files; upload a new Artifact or Version; publish or unpublish a ready Version; inspect Publication state; export an Artifact; or return a ShareSlices Share link.From its SKILL.md
npx -y skills add walnut1024/ShareSlices --skill snapshotAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.4 KB, 867 tokens by cl100k_base, as published. Nobody here has run it
ShareSlices
Use the shareslices CLI as the only ShareSlices integration. Discover local input, invoke the CLI non-interactively, and summarize the durable result.
Establish the CLI boundary
- Run
command -v shareslices. - If the command is missing, stop and tell the user that the ShareSlices CLI must be installed. Do not replace it with direct HTTP requests.
- Honor a user-provided
SHARESLICES_API_URLor--api-url. Otherwise, retain the CLI default. - Set
SHARESLICES_PROMPT_DISABLED=1for agent-driven commands. Add--no-progressto transfer commands. - Use
shareslices <command> --helpwhen exact flags or output fields are uncertain. Treat installed CLI help as the current command contract.
Prepare the input
- Resolve every selected path inside the user's authorized workspace.
- Prefer an existing built static output or prepared ZIP. If a build is required, follow the repository's own build instructions before invoking ShareSlices.
- Preserve relative asset paths by choosing the correct root. Do not gather unselected sibling files.
- Pass
--entry <path>when the user named an entry file or the root HTML choice is ambiguous. Otherwise, let the CLI and Server validate or infer the entry. - Use the user's Artifact name. If none was supplied, derive a concise name from the selected file or directory and state that choice.
- Do not publish credential files, environment files, private keys, dependency directories, or unrelated build output. If the requested selection appears to include secrets, stop and identify the risky paths.
Choose the workflow
Use the one-step workflow unless the user explicitly wants to inspect the uploaded Version before publishing:
SHARESLICES_PROMPT_DISABLED=1 shareslices publish <paths...> \
--name <artifact-name> \
--no-progress
Add only options required by the request:
--root <directory>to define relative paths across multiple selections.--entry <path>to select the entry file.--duration <seconds>or--expires-at <RFC3339>to set a requested Publication end.--replace-link --confirm-replace-linkonly when the user explicitly requests permanent Share-link replacement and understands that the previous link will stop working.
Use stepwise commands when review is required:
SHARESLICES_PROMPT_DISABLED=1 shareslices artifact upload <paths...> \
--name <artifact-name> \
--no-progress \
--json artifact,version,publication
SHARESLICES_PROMPT_DISABLED=1 shareslices artifact publish <artifact-id> \
--version <version-id> \
--json artifactId,versionId,publicationState,expiresAt,url,copyEligible
Use shareslices artifact --help to select the implemented command for listing, uploading another Version, viewing or editing Publication state, ending a Publication early, exporting, or deleting. Supply every required identifier and flag; never depend on an interactive selector in agent-driven work.
Handle authentication and failures
- Run
shareslices auth statusbefore the first authenticated operation when authentication state is unknown. - If sign-in is required, run
shareslices auth login, show the verification instructions, and wait for the user to approve the browser flow before retrying. - Never request, print, store, or transmit the user's email password or CLI credential.
- If the Server requires a newer CLI, report the required upgrade and stop.
- Treat a nonzero exit as failure. Preserve the CLI's actionable error, avoid claiming that content was published, and retry only after resolving the reported cause.
- Do not bypass CLI or Server validation. Do not invent a Share link from an Artifact ID or slug.
Report the result
Return only durable outcome details:
- Artifact name and identifier when available.
- Version identifier when available.
- Publication state and expiration when available.
- Exact Share link returned by the CLI when publishing succeeds.
- Any user action still required.
Do not include transient progress output, credentials, raw API responses, or unsupported lifecycle claims.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.