How to use
- Copy the installation command and review the source package before installing it in your own agent environment.
- Check the source document for required tools, credentials and supported hosts.
- Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/lucaswilliameufrasio/agent-skills --skill privacy-safe-skill-extractionBefore you start
- Installation does not include a model subscription, API allowance or permission to access your files.
- Repository stars and installation counts describe activity, not an independent quality or security test.
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
Privacy-safe skill extraction
Extract reusable knowledge without exporting the source document. The goal is to preserve general decision rules and workflows while removing details that identify private products, people, systems, or operations.
Establish scope and audience
- Identify the source material, intended audience, destination, and whether the
result will be public, team-only, or project-local.
- Inspect existing skills and public/private boundaries to avoid duplicating a
skill or moving private policy into a broader scope.
- If the audience or publication scope is unclear, ask before preparing a
shareable artifact. Do not publish, commit, push, or install globally unless separately authorized.
Extract reusable behavior
Separate source content into:
- portable principles and decision procedures that can be kept;
- organization-specific policy that belongs only in the organization's own
materials;
- repository-specific facts and commands that must be replaced with generic
guidance or omitted; and
- secrets, personal/customer data, or confidential information that must never
be included in the new artifact.
Write the reusable skill in imperative, task-oriented language. Define its trigger, inputs, workflow, boundaries, safety rules, and expected result. Keep repository commands as "inspect and use the target repo's documented command" unless a particular public tool is genuinely part of the reusable workflow.
Sanitize examples and references
For a public or broader-scope artifact:
- Replace company, product, customer, employee, partner, and project names with
neutral or synthetic names.
- Remove private repository paths, issue keys, board/project IDs, internal
URLs, hostnames, API endpoints, service names, deployment topology, and environment-specific commands.
- Remove credentials, tokens, passwords, private keys, resolved environment
values, customer data, and confidential business details. Do not reproduce them in the report or scan output.
- Replace examples with synthetic values that preserve the teaching point, or
omit examples that cannot be safely generalized.
- Review links, filenames, frontmatter, bundled references, eval prompts, and
metadata as well as the main SKILL.md.
- Preserve a source link only when it is intentionally public and appropriate
for the target audience; otherwise remove it.
Do not treat a simple secret scan as sufficient. Product names, internal URLs, issue identifiers, and architecture details can be confidential even when they are not credentials.
Verify before sharing
- Compare the new skill's behavior with the source at an abstract level; do not
copy private wording just to preserve fidelity.
- Search all new files and generated artifacts for source-specific names,
identifiers, URLs, paths, and infrastructure references. Keep scan output private; report only whether findings exist and their sanitized file/line locations.
- Resolve each finding by generalizing or removing it. If a detail may still
identify a private system, omit it or ask the owner rather than guessing.
- Validate skill metadata, references, eval files, and installation/catalog
entries. Use synthetic prompts in evals; do not include private incident or product context.
- Show the sanitized result and validation scope. State clearly that a scan
cannot guarantee the absence of all sensitive information.
Boundaries
- Do not access or publish material beyond the source the user authorized.
- Do not copy large source sections into public artifacts; extract principles.
- Do not weaken safety, privacy, or legal obligations while generalizing.
- Do not infer permission to commit, push, release, or publish from permission
to draft the skill.
Completion report
Report the new skill's path, what kind of reusable workflow it captures, which sanitization and structural checks ran, and any unresolved privacy questions. Never quote sensitive findings or claim a privacy scan proves the artifact is perfectly safe.




