cli-jaw 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.ko.md +411 -0
- package/README.md +416 -0
- package/README.zh-CN.md +411 -0
- package/dist/bin/cli-jaw.js +108 -0
- package/dist/bin/cli-jaw.js.map +1 -0
- package/dist/bin/commands/browser.js +241 -0
- package/dist/bin/commands/browser.js.map +1 -0
- package/dist/bin/commands/chat.js +878 -0
- package/dist/bin/commands/chat.js.map +1 -0
- package/dist/bin/commands/doctor.js +152 -0
- package/dist/bin/commands/doctor.js.map +1 -0
- package/dist/bin/commands/employee.js +70 -0
- package/dist/bin/commands/employee.js.map +1 -0
- package/dist/bin/commands/init.js +110 -0
- package/dist/bin/commands/init.js.map +1 -0
- package/dist/bin/commands/mcp.js +219 -0
- package/dist/bin/commands/mcp.js.map +1 -0
- package/dist/bin/commands/memory.js +105 -0
- package/dist/bin/commands/memory.js.map +1 -0
- package/dist/bin/commands/reset.js +109 -0
- package/dist/bin/commands/reset.js.map +1 -0
- package/dist/bin/commands/serve.js +75 -0
- package/dist/bin/commands/serve.js.map +1 -0
- package/dist/bin/commands/skill.js +232 -0
- package/dist/bin/commands/skill.js.map +1 -0
- package/dist/bin/commands/status.js +51 -0
- package/dist/bin/commands/status.js.map +1 -0
- package/dist/bin/postinstall.js +218 -0
- package/dist/bin/postinstall.js.map +1 -0
- package/dist/lib/mcp-sync.js +639 -0
- package/dist/lib/mcp-sync.js.map +1 -0
- package/dist/lib/quota-copilot.js +62 -0
- package/dist/lib/quota-copilot.js.map +1 -0
- package/dist/lib/upload.js +72 -0
- package/dist/lib/upload.js.map +1 -0
- package/dist/server.js +832 -0
- package/dist/server.js.map +1 -0
- package/dist/src/agent/args.js +66 -0
- package/dist/src/agent/args.js.map +1 -0
- package/dist/src/agent/events.js +328 -0
- package/dist/src/agent/events.js.map +1 -0
- package/dist/src/agent/spawn.js +646 -0
- package/dist/src/agent/spawn.js.map +1 -0
- package/dist/src/browser/actions.js +168 -0
- package/dist/src/browser/actions.js.map +1 -0
- package/dist/src/browser/connection.js +79 -0
- package/dist/src/browser/connection.js.map +1 -0
- package/dist/src/browser/index.js +4 -0
- package/dist/src/browser/index.js.map +1 -0
- package/dist/src/browser/vision.js +128 -0
- package/dist/src/browser/vision.js.map +1 -0
- package/dist/src/cli/acp-client.js +298 -0
- package/dist/src/cli/acp-client.js.map +1 -0
- package/dist/src/cli/commands.js +267 -0
- package/dist/src/cli/commands.js.map +1 -0
- package/dist/src/cli/handlers.js +405 -0
- package/dist/src/cli/handlers.js.map +1 -0
- package/dist/src/cli/registry.js +87 -0
- package/dist/src/cli/registry.js.map +1 -0
- package/dist/src/command-contract/catalog.js +36 -0
- package/dist/src/command-contract/catalog.js.map +1 -0
- package/dist/src/command-contract/help-renderer.js +39 -0
- package/dist/src/command-contract/help-renderer.js.map +1 -0
- package/dist/src/command-contract/policy.js +34 -0
- package/dist/src/command-contract/policy.js.map +1 -0
- package/dist/src/core/bus.js +17 -0
- package/dist/src/core/bus.js.map +1 -0
- package/dist/src/core/config.js +198 -0
- package/dist/src/core/config.js.map +1 -0
- package/dist/src/core/db.js +97 -0
- package/dist/src/core/db.js.map +1 -0
- package/dist/src/core/i18n.js +86 -0
- package/dist/src/core/i18n.js.map +1 -0
- package/dist/src/core/logger.js +14 -0
- package/dist/src/core/logger.js.map +1 -0
- package/dist/src/core/settings-merge.js +40 -0
- package/dist/src/core/settings-merge.js.map +1 -0
- package/dist/src/http/async-handler.js +6 -0
- package/dist/src/http/async-handler.js.map +1 -0
- package/dist/src/http/error-middleware.js +24 -0
- package/dist/src/http/error-middleware.js.map +1 -0
- package/dist/src/http/response.js +16 -0
- package/dist/src/http/response.js.map +1 -0
- package/dist/src/memory/heartbeat.js +106 -0
- package/dist/src/memory/heartbeat.js.map +1 -0
- package/dist/src/memory/memory.js +119 -0
- package/dist/src/memory/memory.js.map +1 -0
- package/dist/src/memory/worklog.js +154 -0
- package/dist/src/memory/worklog.js.map +1 -0
- package/dist/src/orchestrator/distribute.js +310 -0
- package/dist/src/orchestrator/distribute.js.map +1 -0
- package/dist/src/orchestrator/parser.js +118 -0
- package/dist/src/orchestrator/parser.js.map +1 -0
- package/dist/src/orchestrator/pipeline.js +343 -0
- package/dist/src/orchestrator/pipeline.js.map +1 -0
- package/dist/src/prompt/builder.js +531 -0
- package/dist/src/prompt/builder.js.map +1 -0
- package/dist/src/routes/browser.js +126 -0
- package/dist/src/routes/browser.js.map +1 -0
- package/dist/src/routes/quota.js +94 -0
- package/dist/src/routes/quota.js.map +1 -0
- package/dist/src/security/decode.js +23 -0
- package/dist/src/security/decode.js.map +1 -0
- package/dist/src/security/path-guards.js +62 -0
- package/dist/src/security/path-guards.js.map +1 -0
- package/dist/src/telegram/bot.js +469 -0
- package/dist/src/telegram/bot.js.map +1 -0
- package/dist/src/telegram/forwarder.js +93 -0
- package/dist/src/telegram/forwarder.js.map +1 -0
- package/package.json +80 -0
- package/public/css/chat.css +571 -0
- package/public/css/layout.css +350 -0
- package/public/css/markdown.css +270 -0
- package/public/css/modals.css +172 -0
- package/public/css/sidebar.css +225 -0
- package/public/css/variables.css +142 -0
- package/public/index.html +470 -0
- package/public/js/api.js +55 -0
- package/public/js/constants.js +119 -0
- package/public/js/features/appname.js +43 -0
- package/public/js/features/chat.js +242 -0
- package/public/js/features/employees.js +120 -0
- package/public/js/features/heartbeat.js +80 -0
- package/public/js/features/i18n.js +125 -0
- package/public/js/features/memory.js +85 -0
- package/public/js/features/settings.js +512 -0
- package/public/js/features/sidebar.js +88 -0
- package/public/js/features/skills.js +68 -0
- package/public/js/features/slash-commands.js +231 -0
- package/public/js/features/theme.js +40 -0
- package/public/js/locale.js +23 -0
- package/public/js/main.js +281 -0
- package/public/js/render.js +294 -0
- package/public/js/state.js +16 -0
- package/public/js/ui.js +172 -0
- package/public/js/ws.js +76 -0
- package/public/locales/en.json +180 -0
- package/public/locales/ko.json +180 -0
- package/public/theme-test.html +545 -0
- package/skills_ref/1password/SKILL.md +70 -0
- package/skills_ref/agents-sdk/SKILL.md +155 -0
- package/skills_ref/agents-sdk/references/callable.md +92 -0
- package/skills_ref/agents-sdk/references/codemode.md +207 -0
- package/skills_ref/agents-sdk/references/email.md +146 -0
- package/skills_ref/agents-sdk/references/mcp.md +154 -0
- package/skills_ref/agents-sdk/references/state-scheduling.md +164 -0
- package/skills_ref/agents-sdk/references/streaming-chat.md +178 -0
- package/skills_ref/agents-sdk/references/workflows.md +132 -0
- package/skills_ref/algorithmic-art/LICENSE.txt +202 -0
- package/skills_ref/algorithmic-art/SKILL.md +405 -0
- package/skills_ref/algorithmic-art/templates/generator_template.js +223 -0
- package/skills_ref/algorithmic-art/templates/viewer.html +599 -0
- package/skills_ref/apple-notes/SKILL.md +77 -0
- package/skills_ref/apple-reminders/SKILL.md +118 -0
- package/skills_ref/atlas/SKILL.md +99 -0
- package/skills_ref/brainstorming/SKILL.md +96 -0
- package/skills_ref/browser/SKILL.md +179 -0
- package/skills_ref/canvas-design/LICENSE.txt +202 -0
- package/skills_ref/canvas-design/SKILL.md +130 -0
- package/skills_ref/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills_ref/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills_ref/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills_ref/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills_ref/changelog-generator/SKILL.md +104 -0
- package/skills_ref/cloudflare-deploy/SKILL.md +207 -0
- package/skills_ref/codebase-orientation/SKILL.md +29 -0
- package/skills_ref/config-file-explainer/SKILL.md +26 -0
- package/skills_ref/context-compression/SKILL.md +265 -0
- package/skills_ref/context-compression/references/evaluation-framework.md +213 -0
- package/skills_ref/context-compression/scripts/compression_evaluator.py +658 -0
- package/skills_ref/data-structure-chooser/SKILL.md +26 -0
- package/skills_ref/debugging-checklist/SKILL.md +26 -0
- package/skills_ref/debugging-helpers/CREATION-LOG.md +119 -0
- package/skills_ref/debugging-helpers/SKILL.md +296 -0
- package/skills_ref/debugging-helpers/condition-based-waiting-example.ts +158 -0
- package/skills_ref/debugging-helpers/condition-based-waiting.md +115 -0
- package/skills_ref/debugging-helpers/defense-in-depth.md +122 -0
- package/skills_ref/debugging-helpers/find-polluter.sh +63 -0
- package/skills_ref/debugging-helpers/root-cause-tracing.md +169 -0
- package/skills_ref/debugging-helpers/test-academic.md +14 -0
- package/skills_ref/debugging-helpers/test-pressure-1.md +58 -0
- package/skills_ref/debugging-helpers/test-pressure-2.md +68 -0
- package/skills_ref/debugging-helpers/test-pressure-3.md +69 -0
- package/skills_ref/deep-research/.env.example +7 -0
- package/skills_ref/deep-research/README.md +246 -0
- package/skills_ref/deep-research/SKILL.md +106 -0
- package/skills_ref/deep-research/requirements.txt +2 -0
- package/skills_ref/deep-research/scripts/research.py +692 -0
- package/skills_ref/dependency-install-helper/SKILL.md +26 -0
- package/skills_ref/dev/SKILL.md +65 -0
- package/skills_ref/dev-backend/SKILL.md +61 -0
- package/skills_ref/dev-data/SKILL.md +76 -0
- package/skills_ref/dev-frontend/LICENSE.txt +177 -0
- package/skills_ref/dev-frontend/SKILL.md +42 -0
- package/skills_ref/dev-testing/LICENSE.txt +202 -0
- package/skills_ref/dev-testing/SKILL.md +96 -0
- package/skills_ref/dev-testing/examples/console_logging.py +35 -0
- package/skills_ref/dev-testing/examples/element_discovery.py +40 -0
- package/skills_ref/dev-testing/examples/static_html_automation.py +33 -0
- package/skills_ref/dev-testing/scripts/with_server.py +106 -0
- package/skills_ref/develop-web-game/SKILL.md +149 -0
- package/skills_ref/differential-review/.claude-plugin/plugin.json +10 -0
- package/skills_ref/differential-review/README.md +109 -0
- package/skills_ref/differential-review/commands/diff-review.md +21 -0
- package/skills_ref/differential-review/skills/differential-review/SKILL.md +220 -0
- package/skills_ref/differential-review/skills/differential-review/adversarial.md +203 -0
- package/skills_ref/differential-review/skills/differential-review/methodology.md +234 -0
- package/skills_ref/differential-review/skills/differential-review/patterns.md +300 -0
- package/skills_ref/differential-review/skills/differential-review/reporting.md +369 -0
- package/skills_ref/dispatching-parallel-agents/SKILL.md +180 -0
- package/skills_ref/doc-coauthoring/SKILL.md +375 -0
- package/skills_ref/docx/LICENSE.txt +30 -0
- package/skills_ref/docx/SKILL.md +481 -0
- package/skills_ref/docx/scripts/__init__.py +1 -0
- package/skills_ref/docx/scripts/accept_changes.py +135 -0
- package/skills_ref/docx/scripts/comment.py +318 -0
- package/skills_ref/docx/scripts/office/helpers/__init__.py +0 -0
- package/skills_ref/docx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills_ref/docx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills_ref/docx/scripts/office/pack.py +159 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills_ref/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills_ref/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills_ref/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills_ref/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills_ref/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills_ref/docx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills_ref/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills_ref/docx/scripts/office/soffice.py +183 -0
- package/skills_ref/docx/scripts/office/unpack.py +132 -0
- package/skills_ref/docx/scripts/office/validate.py +111 -0
- package/skills_ref/docx/scripts/office/validators/__init__.py +15 -0
- package/skills_ref/docx/scripts/office/validators/base.py +847 -0
- package/skills_ref/docx/scripts/office/validators/docx.py +446 -0
- package/skills_ref/docx/scripts/office/validators/pptx.py +275 -0
- package/skills_ref/docx/scripts/office/validators/redlining.py +247 -0
- package/skills_ref/docx/scripts/templates/comments.xml +3 -0
- package/skills_ref/docx/scripts/templates/commentsExtended.xml +3 -0
- package/skills_ref/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/skills_ref/docx/scripts/templates/commentsIds.xml +3 -0
- package/skills_ref/docx/scripts/templates/people.xml +3 -0
- package/skills_ref/durable-objects/SKILL.md +186 -0
- package/skills_ref/durable-objects/references/rules.md +286 -0
- package/skills_ref/durable-objects/references/testing.md +264 -0
- package/skills_ref/durable-objects/references/workers.md +346 -0
- package/skills_ref/email-draft-polish/SKILL.md +24 -0
- package/skills_ref/error-message-explainer/SKILL.md +27 -0
- package/skills_ref/fal-image-edit/SKILL.md +249 -0
- package/skills_ref/fal-image-edit/scripts/edit-image.sh +199 -0
- package/skills_ref/figma-implement-design/SKILL.md +264 -0
- package/skills_ref/git-worktrees/SKILL.md +218 -0
- package/skills_ref/github/SKILL.md +210 -0
- package/skills_ref/gog/SKILL.md +116 -0
- package/skills_ref/goplaces/SKILL.md +52 -0
- package/skills_ref/himalaya/SKILL.md +257 -0
- package/skills_ref/hugging-face-cli/SKILL.md +186 -0
- package/skills_ref/hugging-face-cli/references/commands.md +954 -0
- package/skills_ref/hugging-face-cli/references/examples.md +374 -0
- package/skills_ref/hugging-face-evaluation/SKILL.md +651 -0
- package/skills_ref/hugging-face-evaluation/examples/.env.example +7 -0
- package/skills_ref/hugging-face-evaluation/examples/USAGE_EXAMPLES.md +382 -0
- package/skills_ref/hugging-face-evaluation/examples/artificial_analysis_to_hub.py +141 -0
- package/skills_ref/hugging-face-evaluation/examples/example_readme_tables.md +135 -0
- package/skills_ref/hugging-face-evaluation/examples/metric_mapping.json +50 -0
- package/skills_ref/hugging-face-evaluation/requirements.txt +20 -0
- package/skills_ref/hugging-face-evaluation/scripts/evaluation_manager.py +1374 -0
- package/skills_ref/hugging-face-evaluation/scripts/inspect_eval_uv.py +104 -0
- package/skills_ref/hugging-face-evaluation/scripts/inspect_vllm_uv.py +317 -0
- package/skills_ref/hugging-face-evaluation/scripts/lighteval_vllm_uv.py +303 -0
- package/skills_ref/hugging-face-evaluation/scripts/run_eval_job.py +98 -0
- package/skills_ref/hugging-face-evaluation/scripts/run_vllm_eval_job.py +331 -0
- package/skills_ref/hugging-face-evaluation/scripts/test_extraction.py +206 -0
- package/skills_ref/hugging-face-model-trainer/SKILL.md +718 -0
- package/skills_ref/hugging-face-model-trainer/references/gguf_conversion.md +296 -0
- package/skills_ref/hugging-face-model-trainer/references/hardware_guide.md +283 -0
- package/skills_ref/hugging-face-model-trainer/references/hub_saving.md +364 -0
- package/skills_ref/hugging-face-model-trainer/references/reliability_principles.md +371 -0
- package/skills_ref/hugging-face-model-trainer/references/trackio_guide.md +189 -0
- package/skills_ref/hugging-face-model-trainer/references/training_methods.md +150 -0
- package/skills_ref/hugging-face-model-trainer/references/training_patterns.md +203 -0
- package/skills_ref/hugging-face-model-trainer/references/troubleshooting.md +282 -0
- package/skills_ref/hugging-face-model-trainer/references/unsloth.md +313 -0
- package/skills_ref/hugging-face-model-trainer/scripts/convert_to_gguf.py +424 -0
- package/skills_ref/hugging-face-model-trainer/scripts/dataset_inspector.py +417 -0
- package/skills_ref/hugging-face-model-trainer/scripts/estimate_cost.py +150 -0
- package/skills_ref/hugging-face-model-trainer/scripts/train_dpo_example.py +106 -0
- package/skills_ref/hugging-face-model-trainer/scripts/train_grpo_example.py +89 -0
- package/skills_ref/hugging-face-model-trainer/scripts/train_sft_example.py +122 -0
- package/skills_ref/hugging-face-model-trainer/scripts/unsloth_sft_example.py +512 -0
- package/skills_ref/imagegen/SKILL.md +174 -0
- package/skills_ref/insecure-defaults/.claude-plugin/plugin.json +10 -0
- package/skills_ref/insecure-defaults/README.md +45 -0
- package/skills_ref/insecure-defaults/skills/insecure-defaults/SKILL.md +117 -0
- package/skills_ref/insecure-defaults/skills/insecure-defaults/references/examples.md +409 -0
- package/skills_ref/jupyter-notebook/SKILL.md +107 -0
- package/skills_ref/linear/SKILL.md +87 -0
- package/skills_ref/linter-fix-guide/SKILL.md +27 -0
- package/skills_ref/log-summarizer/SKILL.md +27 -0
- package/skills_ref/mcp-builder/LICENSE.txt +202 -0
- package/skills_ref/mcp-builder/SKILL.md +236 -0
- package/skills_ref/mcp-builder/reference/evaluation.md +602 -0
- package/skills_ref/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/skills_ref/mcp-builder/reference/node_mcp_server.md +970 -0
- package/skills_ref/mcp-builder/reference/python_mcp_server.md +719 -0
- package/skills_ref/mcp-builder/scripts/connections.py +151 -0
- package/skills_ref/mcp-builder/scripts/evaluation.py +373 -0
- package/skills_ref/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills_ref/mcp-builder/scripts/requirements.txt +2 -0
- package/skills_ref/memory/SKILL.md +129 -0
- package/skills_ref/modern-python/.claude-plugin/plugin.json +10 -0
- package/skills_ref/modern-python/README.md +66 -0
- package/skills_ref/modern-python/hooks/hooks.json +16 -0
- package/skills_ref/modern-python/hooks/setup-shims.bats +70 -0
- package/skills_ref/modern-python/hooks/setup-shims.sh +24 -0
- package/skills_ref/modern-python/hooks/shims/pip +27 -0
- package/skills_ref/modern-python/hooks/shims/pip-shim.bats +45 -0
- package/skills_ref/modern-python/hooks/shims/pip3 +27 -0
- package/skills_ref/modern-python/hooks/shims/pipx +41 -0
- package/skills_ref/modern-python/hooks/shims/pipx-shim.bats +64 -0
- package/skills_ref/modern-python/hooks/shims/python +26 -0
- package/skills_ref/modern-python/hooks/shims/python-shim.bats +53 -0
- package/skills_ref/modern-python/hooks/shims/python3 +26 -0
- package/skills_ref/modern-python/hooks/shims/uv +27 -0
- package/skills_ref/modern-python/hooks/shims/uv-shim.bats +47 -0
- package/skills_ref/modern-python/skills/modern-python/SKILL.md +333 -0
- package/skills_ref/modern-python/skills/modern-python/references/dependabot.md +43 -0
- package/skills_ref/modern-python/skills/modern-python/references/migration-checklist.md +141 -0
- package/skills_ref/modern-python/skills/modern-python/references/pep723-scripts.md +259 -0
- package/skills_ref/modern-python/skills/modern-python/references/prek.md +211 -0
- package/skills_ref/modern-python/skills/modern-python/references/pyproject.md +254 -0
- package/skills_ref/modern-python/skills/modern-python/references/ruff-config.md +240 -0
- package/skills_ref/modern-python/skills/modern-python/references/security-setup.md +255 -0
- package/skills_ref/modern-python/skills/modern-python/references/testing.md +284 -0
- package/skills_ref/modern-python/skills/modern-python/references/uv-commands.md +200 -0
- package/skills_ref/modern-python/skills/modern-python/templates/dependabot.yml +36 -0
- package/skills_ref/modern-python/skills/modern-python/templates/pre-commit-config.yaml +66 -0
- package/skills_ref/nano-banana-pro/SKILL.md +58 -0
- package/skills_ref/netlify-deploy/SKILL.md +233 -0
- package/skills_ref/notion/SKILL.md +304 -0
- package/skills_ref/notion-knowledge-capture/SKILL.md +56 -0
- package/skills_ref/notion-meeting-intelligence/SKILL.md +60 -0
- package/skills_ref/notion-research-documentation/SKILL.md +59 -0
- package/skills_ref/notion-spec-to-implementation/SKILL.md +58 -0
- package/skills_ref/obsidian/SKILL.md +81 -0
- package/skills_ref/openai-docs/SKILL.md +56 -0
- package/skills_ref/openhue/SKILL.md +112 -0
- package/skills_ref/pdf/SKILL.md +69 -0
- package/skills_ref/postgres/README.md +77 -0
- package/skills_ref/postgres/SKILL.md +129 -0
- package/skills_ref/postgres/connections.example.json +34 -0
- package/skills_ref/postgres/requirements.txt +1 -0
- package/skills_ref/postgres/scripts/query.py +262 -0
- package/skills_ref/pptx/LICENSE.txt +30 -0
- package/skills_ref/pptx/SKILL.md +232 -0
- package/skills_ref/pptx/editing.md +205 -0
- package/skills_ref/pptx/pptxgenjs.md +420 -0
- package/skills_ref/pptx/scripts/__init__.py +0 -0
- package/skills_ref/pptx/scripts/add_slide.py +195 -0
- package/skills_ref/pptx/scripts/clean.py +286 -0
- package/skills_ref/pptx/scripts/office/helpers/__init__.py +0 -0
- package/skills_ref/pptx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills_ref/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills_ref/pptx/scripts/office/pack.py +159 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills_ref/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills_ref/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills_ref/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills_ref/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills_ref/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills_ref/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills_ref/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills_ref/pptx/scripts/office/soffice.py +183 -0
- package/skills_ref/pptx/scripts/office/unpack.py +132 -0
- package/skills_ref/pptx/scripts/office/validate.py +111 -0
- package/skills_ref/pptx/scripts/office/validators/__init__.py +15 -0
- package/skills_ref/pptx/scripts/office/validators/base.py +847 -0
- package/skills_ref/pptx/scripts/office/validators/docx.py +446 -0
- package/skills_ref/pptx/scripts/office/validators/pptx.py +275 -0
- package/skills_ref/pptx/scripts/office/validators/redlining.py +247 -0
- package/skills_ref/pptx/scripts/thumbnail.py +289 -0
- package/skills_ref/property-based-testing/.claude-plugin/plugin.json +9 -0
- package/skills_ref/property-based-testing/README.md +47 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/README.md +88 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/SKILL.md +123 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/design.md +191 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/generating.md +204 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/interpreting-failures.md +239 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/libraries.md +130 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/refactoring.md +181 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/reviewing.md +209 -0
- package/skills_ref/property-based-testing/skills/property-based-testing/references/strategies.md +124 -0
- package/skills_ref/react-best-practices/AGENTS.md +2934 -0
- package/skills_ref/react-best-practices/README.md +123 -0
- package/skills_ref/react-best-practices/SKILL.md +136 -0
- package/skills_ref/react-best-practices/metadata.json +15 -0
- package/skills_ref/react-best-practices/rules/_sections.md +46 -0
- package/skills_ref/react-best-practices/rules/_template.md +28 -0
- package/skills_ref/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/skills_ref/react-best-practices/rules/advanced-init-once.md +42 -0
- package/skills_ref/react-best-practices/rules/advanced-use-latest.md +39 -0
- package/skills_ref/react-best-practices/rules/async-api-routes.md +38 -0
- package/skills_ref/react-best-practices/rules/async-defer-await.md +80 -0
- package/skills_ref/react-best-practices/rules/async-dependencies.md +51 -0
- package/skills_ref/react-best-practices/rules/async-parallel.md +28 -0
- package/skills_ref/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/skills_ref/react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/skills_ref/react-best-practices/rules/bundle-conditional.md +31 -0
- package/skills_ref/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/skills_ref/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/skills_ref/react-best-practices/rules/bundle-preload.md +50 -0
- package/skills_ref/react-best-practices/rules/client-event-listeners.md +74 -0
- package/skills_ref/react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/skills_ref/react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/skills_ref/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/skills_ref/react-best-practices/rules/js-batch-dom-css.md +107 -0
- package/skills_ref/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/skills_ref/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/skills_ref/react-best-practices/rules/js-cache-storage.md +70 -0
- package/skills_ref/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/skills_ref/react-best-practices/rules/js-early-exit.md +50 -0
- package/skills_ref/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/skills_ref/react-best-practices/rules/js-index-maps.md +37 -0
- package/skills_ref/react-best-practices/rules/js-length-check-first.md +49 -0
- package/skills_ref/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/skills_ref/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/skills_ref/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/skills_ref/react-best-practices/rules/rendering-activity.md +26 -0
- package/skills_ref/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/skills_ref/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/skills_ref/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/skills_ref/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/skills_ref/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/skills_ref/react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
- package/skills_ref/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/skills_ref/react-best-practices/rules/rendering-usetransition-loading.md +75 -0
- package/skills_ref/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/skills_ref/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/skills_ref/react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
- package/skills_ref/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/skills_ref/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/skills_ref/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/skills_ref/react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
- package/skills_ref/react-best-practices/rules/rerender-memo.md +44 -0
- package/skills_ref/react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
- package/skills_ref/react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
- package/skills_ref/react-best-practices/rules/rerender-transitions.md +40 -0
- package/skills_ref/react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
- package/skills_ref/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/skills_ref/react-best-practices/rules/server-auth-actions.md +96 -0
- package/skills_ref/react-best-practices/rules/server-cache-lru.md +41 -0
- package/skills_ref/react-best-practices/rules/server-cache-react.md +76 -0
- package/skills_ref/react-best-practices/rules/server-dedup-props.md +65 -0
- package/skills_ref/react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/skills_ref/react-best-practices/rules/server-serialization.md +38 -0
- package/skills_ref/receiving-code-review/SKILL.md +213 -0
- package/skills_ref/registry.json +1493 -0
- package/skills_ref/render-deploy/SKILL.md +462 -0
- package/skills_ref/requesting-code-review/SKILL.md +105 -0
- package/skills_ref/requesting-code-review/code-reviewer.md +146 -0
- package/skills_ref/screen-capture/SKILL.md +162 -0
- package/skills_ref/security-best-practices/LICENSE.txt +201 -0
- package/skills_ref/security-best-practices/SKILL.md +86 -0
- package/skills_ref/security-best-practices/agents/openai.yaml +4 -0
- package/skills_ref/security-best-practices/references/golang-general-backend-security.md +826 -0
- package/skills_ref/security-best-practices/references/javascript-express-web-server-security.md +1158 -0
- package/skills_ref/security-best-practices/references/javascript-general-web-frontend-security.md +747 -0
- package/skills_ref/security-best-practices/references/javascript-jquery-web-frontend-security.md +678 -0
- package/skills_ref/security-best-practices/references/javascript-typescript-nextjs-web-server-security.md +1144 -0
- package/skills_ref/security-best-practices/references/javascript-typescript-react-web-frontend-security.md +990 -0
- package/skills_ref/security-best-practices/references/javascript-typescript-vue-web-frontend-security.md +791 -0
- package/skills_ref/security-best-practices/references/python-django-web-server-security.md +882 -0
- package/skills_ref/security-best-practices/references/python-fastapi-web-server-security.md +1036 -0
- package/skills_ref/security-best-practices/references/python-flask-web-server-security.md +705 -0
- package/skills_ref/security-ownership-map/LICENSE.txt +201 -0
- package/skills_ref/security-ownership-map/SKILL.md +206 -0
- package/skills_ref/security-ownership-map/agents/openai.yaml +4 -0
- package/skills_ref/security-ownership-map/references/neo4j-import.md +60 -0
- package/skills_ref/security-ownership-map/scripts/build_ownership_map.py +956 -0
- package/skills_ref/security-ownership-map/scripts/community_maintainers.py +544 -0
- package/skills_ref/security-ownership-map/scripts/query_ownership.py +483 -0
- package/skills_ref/security-ownership-map/scripts/run_ownership_map.py +200 -0
- package/skills_ref/security-threat-model/LICENSE.txt +201 -0
- package/skills_ref/security-threat-model/SKILL.md +81 -0
- package/skills_ref/security-threat-model/agents/openai.yaml +4 -0
- package/skills_ref/security-threat-model/references/prompt-template.md +255 -0
- package/skills_ref/security-threat-model/references/security-controls-and-assets.md +32 -0
- package/skills_ref/sentry/SKILL.md +123 -0
- package/skills_ref/skill-creator/SKILL.md +372 -0
- package/skills_ref/sora/SKILL.md +153 -0
- package/skills_ref/speech/SKILL.md +144 -0
- package/skills_ref/spotify-player/SKILL.md +64 -0
- package/skills_ref/static-analysis/.claude-plugin/plugin.json +8 -0
- package/skills_ref/static-analysis/README.md +65 -0
- package/skills_ref/static-analysis/agents/semgrep-scanner.md +71 -0
- package/skills_ref/static-analysis/agents/semgrep-triager.md +107 -0
- package/skills_ref/static-analysis/skills/codeql/SKILL.md +119 -0
- package/skills_ref/static-analysis/skills/codeql/references/diagnostic-query-templates.md +339 -0
- package/skills_ref/static-analysis/skills/codeql/references/language-details.md +207 -0
- package/skills_ref/static-analysis/skills/codeql/references/performance-tuning.md +111 -0
- package/skills_ref/static-analysis/skills/codeql/references/ruleset-catalog.md +63 -0
- package/skills_ref/static-analysis/skills/codeql/references/threat-models.md +44 -0
- package/skills_ref/static-analysis/skills/codeql/workflows/build-database.md +669 -0
- package/skills_ref/static-analysis/skills/codeql/workflows/create-data-extensions.md +536 -0
- package/skills_ref/static-analysis/skills/codeql/workflows/run-analysis.md +436 -0
- package/skills_ref/static-analysis/skills/sarif-parsing/SKILL.md +479 -0
- package/skills_ref/static-analysis/skills/sarif-parsing/resources/jq-queries.md +162 -0
- package/skills_ref/static-analysis/skills/sarif-parsing/resources/sarif_helpers.py +331 -0
- package/skills_ref/static-analysis/skills/semgrep/SKILL.md +431 -0
- package/skills_ref/static-analysis/skills/semgrep/references/rulesets.md +162 -0
- package/skills_ref/static-analysis/skills/semgrep/references/scanner-task-prompt.md +102 -0
- package/skills_ref/static-analysis/skills/semgrep/references/triage-task-prompt.md +122 -0
- package/skills_ref/static-analysis/skills/semgrep/scripts/merge_triaged_sarif.py +252 -0
- package/skills_ref/summarize/SKILL.md +87 -0
- package/skills_ref/tdd/SKILL.md +371 -0
- package/skills_ref/tdd/testing-anti-patterns.md +299 -0
- package/skills_ref/telegram-send/SKILL.md +99 -0
- package/skills_ref/terraform/README.md +105 -0
- package/skills_ref/terraform/code-generation/.claude-plugin/plugin.json +30 -0
- package/skills_ref/terraform/code-generation/skills/azure-verified-modules/SKILL.md +613 -0
- package/skills_ref/terraform/code-generation/skills/terraform-style-guide/SKILL.md +353 -0
- package/skills_ref/terraform/code-generation/skills/terraform-test/SKILL.md +1669 -0
- package/skills_ref/terraform/module-generation/.claude-plugin/plugin.json +30 -0
- package/skills_ref/terraform/module-generation/skills/refactor-module/SKILL.md +538 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/SKILL.md +468 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/api-monitoring.md +543 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/component-blocks.md +476 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/deployment-blocks.md +391 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/examples.md +1529 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/linked-stacks.md +187 -0
- package/skills_ref/terraform/module-generation/skills/terraform-stacks/references/troubleshooting.md +671 -0
- package/skills_ref/terraform/provider-development/.claude-plugin/plugin.json +13 -0
- package/skills_ref/terraform/provider-development/skills/new-terraform-provider/SKILL.md +25 -0
- package/skills_ref/terraform/provider-development/skills/new-terraform-provider/assets/main.go +40 -0
- package/skills_ref/terraform/provider-development/skills/provider-actions/SKILL.md +478 -0
- package/skills_ref/terraform/provider-development/skills/provider-resources/SKILL.md +599 -0
- package/skills_ref/terraform/provider-development/skills/run-acceptance-tests/SKILL.md +41 -0
- package/skills_ref/theme-factory/LICENSE.txt +202 -0
- package/skills_ref/theme-factory/SKILL.md +59 -0
- package/skills_ref/theme-factory/theme-showcase.pdf +0 -0
- package/skills_ref/theme-factory/themes/arctic-frost.md +19 -0
- package/skills_ref/theme-factory/themes/botanical-garden.md +19 -0
- package/skills_ref/theme-factory/themes/desert-rose.md +19 -0
- package/skills_ref/theme-factory/themes/forest-canopy.md +19 -0
- package/skills_ref/theme-factory/themes/golden-hour.md +19 -0
- package/skills_ref/theme-factory/themes/midnight-galaxy.md +19 -0
- package/skills_ref/theme-factory/themes/modern-minimalist.md +19 -0
- package/skills_ref/theme-factory/themes/ocean-depths.md +19 -0
- package/skills_ref/theme-factory/themes/sunset-boulevard.md +19 -0
- package/skills_ref/theme-factory/themes/tech-innovation.md +19 -0
- package/skills_ref/things-mac/SKILL.md +86 -0
- package/skills_ref/tmux/SKILL.md +153 -0
- package/skills_ref/transcribe/SKILL.md +81 -0
- package/skills_ref/trello/SKILL.md +95 -0
- package/skills_ref/tts/SKILL.md +99 -0
- package/skills_ref/vercel-deploy/SKILL.md +115 -0
- package/skills_ref/video-downloader/SKILL.md +99 -0
- package/skills_ref/video-downloader/scripts/download_video.py +145 -0
- package/skills_ref/video-frames/SKILL.md +46 -0
- package/skills_ref/vision-click/SKILL.md +128 -0
- package/skills_ref/weather/SKILL.md +112 -0
- package/skills_ref/web-artifacts-builder/LICENSE.txt +202 -0
- package/skills_ref/web-artifacts-builder/SKILL.md +74 -0
- package/skills_ref/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills_ref/web-artifacts-builder/scripts/init-artifact.sh +322 -0
- package/skills_ref/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills_ref/web-perf/SKILL.md +193 -0
- package/skills_ref/web-routing/SKILL.md +26 -0
- package/skills_ref/whatsapp/SKILL.md +255 -0
- package/skills_ref/whatsapp/assets/agent-app-integration-example.json +35 -0
- package/skills_ref/whatsapp/assets/databases-example.json +11 -0
- package/skills_ref/whatsapp/assets/function-decide-route-interactive-buttons.json +6 -0
- package/skills_ref/whatsapp/assets/functions-example.json +5 -0
- package/skills_ref/whatsapp/assets/workflow-agent-simple.json +31 -0
- package/skills_ref/whatsapp/assets/workflow-api-template-wait-agent.json +59 -0
- package/skills_ref/whatsapp/assets/workflow-customer-support-intake-agent.json +56 -0
- package/skills_ref/whatsapp/assets/workflow-decision.json +83 -0
- package/skills_ref/whatsapp/assets/workflow-interactive-buttons-decide-ai.json +89 -0
- package/skills_ref/whatsapp/assets/workflow-interactive-buttons-decide-function.json +88 -0
- package/skills_ref/whatsapp/assets/workflow-linear.json +53 -0
- package/skills_ref/whatsapp/package.json +10 -0
- package/skills_ref/whatsapp/references/app-integrations.md +89 -0
- package/skills_ref/whatsapp/references/databases-reference.md +21 -0
- package/skills_ref/whatsapp/references/execution-context.md +42 -0
- package/skills_ref/whatsapp/references/function-contracts.md +55 -0
- package/skills_ref/whatsapp/references/functions-payloads.md +87 -0
- package/skills_ref/whatsapp/references/functions-reference.md +133 -0
- package/skills_ref/whatsapp/references/graph-contract.md +145 -0
- package/skills_ref/whatsapp/references/node-types.md +430 -0
- package/skills_ref/whatsapp/references/triggers.md +20 -0
- package/skills_ref/whatsapp/references/workflow-overview.md +22 -0
- package/skills_ref/whatsapp/references/workflow-reference.md +123 -0
- package/skills_ref/whatsapp/scripts/configure-prop.js +113 -0
- package/skills_ref/whatsapp/scripts/create-connect-token.js +38 -0
- package/skills_ref/whatsapp/scripts/create-function.js +64 -0
- package/skills_ref/whatsapp/scripts/create-integration.js +137 -0
- package/skills_ref/whatsapp/scripts/create-row.js +47 -0
- package/skills_ref/whatsapp/scripts/create-trigger.js +88 -0
- package/skills_ref/whatsapp/scripts/create-workflow.js +85 -0
- package/skills_ref/whatsapp/scripts/delete-integration.js +44 -0
- package/skills_ref/whatsapp/scripts/delete-row.js +49 -0
- package/skills_ref/whatsapp/scripts/delete-trigger.js +44 -0
- package/skills_ref/whatsapp/scripts/deploy-function.js +47 -0
- package/skills_ref/whatsapp/scripts/edit-graph.js +289 -0
- package/skills_ref/whatsapp/scripts/get-action-schema.js +44 -0
- package/skills_ref/whatsapp/scripts/get-context-value.js +80 -0
- package/skills_ref/whatsapp/scripts/get-execution-event.js +55 -0
- package/skills_ref/whatsapp/scripts/get-execution.js +44 -0
- package/skills_ref/whatsapp/scripts/get-function.js +43 -0
- package/skills_ref/whatsapp/scripts/get-graph.js +85 -0
- package/skills_ref/whatsapp/scripts/get-table.js +45 -0
- package/skills_ref/whatsapp/scripts/get-workflow.js +44 -0
- package/skills_ref/whatsapp/scripts/invoke-function.js +60 -0
- package/skills_ref/whatsapp/scripts/lib/databases/args.js +87 -0
- package/skills_ref/whatsapp/scripts/lib/databases/filters.js +30 -0
- package/skills_ref/whatsapp/scripts/lib/databases/kapso-api.js +70 -0
- package/skills_ref/whatsapp/scripts/lib/functions/args.js +55 -0
- package/skills_ref/whatsapp/scripts/lib/functions/kapso-api.js +70 -0
- package/skills_ref/whatsapp/scripts/lib/workflows/args.js +53 -0
- package/skills_ref/whatsapp/scripts/lib/workflows/kapso-api.js +123 -0
- package/skills_ref/whatsapp/scripts/lib/workflows/result.js +16 -0
- package/skills_ref/whatsapp/scripts/list-accounts.js +62 -0
- package/skills_ref/whatsapp/scripts/list-apps.js +42 -0
- package/skills_ref/whatsapp/scripts/list-execution-events.js +61 -0
- package/skills_ref/whatsapp/scripts/list-executions.js +53 -0
- package/skills_ref/whatsapp/scripts/list-function-invocations.js +53 -0
- package/skills_ref/whatsapp/scripts/list-functions.js +41 -0
- package/skills_ref/whatsapp/scripts/list-integrations.js +41 -0
- package/skills_ref/whatsapp/scripts/list-provider-models.js +48 -0
- package/skills_ref/whatsapp/scripts/list-tables.js +41 -0
- package/skills_ref/whatsapp/scripts/list-triggers.js +44 -0
- package/skills_ref/whatsapp/scripts/list-whatsapp-phone-numbers.js +56 -0
- package/skills_ref/whatsapp/scripts/list-workflows.js +44 -0
- package/skills_ref/whatsapp/scripts/openapi-explore.mjs +1273 -0
- package/skills_ref/whatsapp/scripts/query-rows.js +71 -0
- package/skills_ref/whatsapp/scripts/reload-props.js +110 -0
- package/skills_ref/whatsapp/scripts/resume-execution.js +75 -0
- package/skills_ref/whatsapp/scripts/search-actions.js +64 -0
- package/skills_ref/whatsapp/scripts/update-execution-status.js +51 -0
- package/skills_ref/whatsapp/scripts/update-function.js +65 -0
- package/skills_ref/whatsapp/scripts/update-graph.js +154 -0
- package/skills_ref/whatsapp/scripts/update-integration.js +82 -0
- package/skills_ref/whatsapp/scripts/update-row.js +51 -0
- package/skills_ref/whatsapp/scripts/update-trigger.js +60 -0
- package/skills_ref/whatsapp/scripts/update-workflow-settings.js +67 -0
- package/skills_ref/whatsapp/scripts/upsert-row.js +64 -0
- package/skills_ref/whatsapp/scripts/validate-graph.js +293 -0
- package/skills_ref/whatsapp/scripts/variables-delete.js +37 -0
- package/skills_ref/whatsapp/scripts/variables-list.js +55 -0
- package/skills_ref/whatsapp/scripts/variables-set.js +39 -0
- package/skills_ref/writing-plans/SKILL.md +116 -0
- package/skills_ref/xlsx/LICENSE.txt +30 -0
- package/skills_ref/xlsx/SKILL.md +292 -0
- package/skills_ref/xlsx/scripts/office/helpers/__init__.py +0 -0
- package/skills_ref/xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills_ref/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills_ref/xlsx/scripts/office/pack.py +159 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills_ref/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills_ref/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills_ref/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills_ref/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills_ref/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills_ref/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills_ref/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills_ref/xlsx/scripts/office/soffice.py +183 -0
- package/skills_ref/xlsx/scripts/office/unpack.py +132 -0
- package/skills_ref/xlsx/scripts/office/validate.py +111 -0
- package/skills_ref/xlsx/scripts/office/validators/__init__.py +15 -0
- package/skills_ref/xlsx/scripts/office/validators/base.py +847 -0
- package/skills_ref/xlsx/scripts/office/validators/docx.py +446 -0
- package/skills_ref/xlsx/scripts/office/validators/pptx.py +275 -0
- package/skills_ref/xlsx/scripts/office/validators/redlining.py +247 -0
- package/skills_ref/xlsx/scripts/recalc.py +184 -0
- package/skills_ref/xurl/SKILL.md +461 -0
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
# HF CLI Command Reference
|
|
2
|
+
|
|
3
|
+
Complete reference for all `hf` CLI commands and options.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
- [Authentication](#authentication)
|
|
7
|
+
- [Download](#download)
|
|
8
|
+
- [Upload](#upload)
|
|
9
|
+
- [Repository Management](#repository-management)
|
|
10
|
+
- [Repository Files](#repository-files)
|
|
11
|
+
- [Cache Management](#cache-management)
|
|
12
|
+
- [Datasets](#datasets)
|
|
13
|
+
- [Models](#models)
|
|
14
|
+
- [Spaces](#spaces)
|
|
15
|
+
- [Jobs](#jobs)
|
|
16
|
+
- [Inference Endpoints](#inference-endpoints)
|
|
17
|
+
- [Environment](#environment)
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Authentication
|
|
22
|
+
|
|
23
|
+
### hf auth login
|
|
24
|
+
Authenticate with Hugging Face Hub.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
hf auth login # Interactive login
|
|
28
|
+
hf auth login --token $HF_TOKEN # Non-interactive with token
|
|
29
|
+
hf auth login --token $HF_TOKEN --add-to-git-credential # Also save as git credential
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Options:**
|
|
33
|
+
| Option | Description |
|
|
34
|
+
|--------|-------------|
|
|
35
|
+
| `--token` | Access token to use |
|
|
36
|
+
| `--add-to-git-credential` | Save token to git credential helper |
|
|
37
|
+
|
|
38
|
+
### hf auth whoami
|
|
39
|
+
Display current authenticated user and organizations.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
hf auth whoami
|
|
43
|
+
# Output: username + orgs list
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### hf auth list
|
|
47
|
+
List all stored access tokens.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
hf auth list
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### hf auth switch
|
|
54
|
+
Switch between stored access tokens.
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
hf auth switch # Interactive selection
|
|
58
|
+
hf auth switch --token-name my-token # Switch to specific token
|
|
59
|
+
hf auth switch --add-to-git-credential # Also update git credentials
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### hf auth logout
|
|
63
|
+
Remove stored authentication tokens.
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
hf auth logout # Remove active token
|
|
67
|
+
hf auth logout --token-name my-token # Remove specific token
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Note:** If logged in via `HF_TOKEN` environment variable, you must unset it in your shell configuration.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Download
|
|
75
|
+
|
|
76
|
+
### hf download
|
|
77
|
+
Download files from the Hub. Uses cache system by default.
|
|
78
|
+
|
|
79
|
+
**Syntax:**
|
|
80
|
+
```bash
|
|
81
|
+
hf download <repo_id> [files...] [options]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
| Option | Description |
|
|
86
|
+
|--------|-------------|
|
|
87
|
+
| `--repo-type` | `model` (default), `dataset`, or `space` |
|
|
88
|
+
| `--revision` | Specific commit, branch, or tag |
|
|
89
|
+
| `--include` | Glob patterns to include (e.g., `"*.safetensors"`) |
|
|
90
|
+
| `--exclude` | Glob patterns to exclude (e.g., `"*.fp16.*"`) |
|
|
91
|
+
| `--local-dir` | Download to specific directory instead of cache |
|
|
92
|
+
| `--cache-dir` | Custom cache directory |
|
|
93
|
+
| `--force-download` | Force re-download even if cached |
|
|
94
|
+
| `--max-workers` | Number of concurrent downloads |
|
|
95
|
+
| `--token` | Authentication token |
|
|
96
|
+
| `--quiet` | Suppress output except final path |
|
|
97
|
+
|
|
98
|
+
**Examples:**
|
|
99
|
+
```bash
|
|
100
|
+
# Single file
|
|
101
|
+
hf download gpt2 config.json
|
|
102
|
+
|
|
103
|
+
# Entire repository
|
|
104
|
+
hf download HuggingFaceH4/zephyr-7b-beta
|
|
105
|
+
|
|
106
|
+
# Multiple specific files
|
|
107
|
+
hf download gpt2 config.json model.safetensors
|
|
108
|
+
|
|
109
|
+
# Nested file path
|
|
110
|
+
hf download HiDream-ai/HiDream-I1-Full text_encoder/model.safetensors
|
|
111
|
+
|
|
112
|
+
# Filter with patterns
|
|
113
|
+
hf download stabilityai/stable-diffusion-xl-base-1.0 --include "*.safetensors" --exclude "*.fp16.*"
|
|
114
|
+
|
|
115
|
+
# Dataset
|
|
116
|
+
hf download HuggingFaceH4/ultrachat_200k --repo-type dataset
|
|
117
|
+
|
|
118
|
+
# Space
|
|
119
|
+
hf download HuggingFaceH4/zephyr-chat --repo-type space
|
|
120
|
+
|
|
121
|
+
# Specific revision
|
|
122
|
+
hf download bigcode/the-stack --repo-type dataset --revision v1.1
|
|
123
|
+
|
|
124
|
+
# To local directory
|
|
125
|
+
hf download adept/fuyu-8b model-00001-of-00002.safetensors --local-dir fuyu
|
|
126
|
+
|
|
127
|
+
# Quiet mode (outputs only path)
|
|
128
|
+
hf download gpt2 --quiet
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Timeout:** Set `HF_HUB_DOWNLOAD_TIMEOUT` environment variable (default: 10 seconds).
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Upload
|
|
136
|
+
|
|
137
|
+
### hf upload
|
|
138
|
+
Upload files or folders to the Hub.
|
|
139
|
+
|
|
140
|
+
**Syntax:**
|
|
141
|
+
```bash
|
|
142
|
+
hf upload <repo_id> [local_path] [path_in_repo] [options]
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Options:**
|
|
146
|
+
| Option | Description |
|
|
147
|
+
|--------|-------------|
|
|
148
|
+
| `--repo-type` | `model` (default), `dataset`, or `space` |
|
|
149
|
+
| `--revision` | Target branch/ref |
|
|
150
|
+
| `--include` | Glob patterns to include |
|
|
151
|
+
| `--exclude` | Glob patterns to exclude |
|
|
152
|
+
| `--delete` | Patterns of remote files to delete |
|
|
153
|
+
| `--commit-message` | Custom commit message |
|
|
154
|
+
| `--commit-description` | Extended commit description |
|
|
155
|
+
| `--create-pr` | Create a pull request |
|
|
156
|
+
| `--every` | Upload at regular intervals (minutes) |
|
|
157
|
+
| `--token` | Authentication token |
|
|
158
|
+
| `--quiet` | Suppress output except final URL |
|
|
159
|
+
|
|
160
|
+
**Examples:**
|
|
161
|
+
```bash
|
|
162
|
+
# Upload current directory to repo root
|
|
163
|
+
hf upload my-cool-model . .
|
|
164
|
+
|
|
165
|
+
# Upload specific folder
|
|
166
|
+
hf upload my-cool-model ./models .
|
|
167
|
+
|
|
168
|
+
# Upload to specific path in repo
|
|
169
|
+
hf upload my-cool-model ./path/to/curated/data /data/train
|
|
170
|
+
|
|
171
|
+
# Upload single file
|
|
172
|
+
hf upload Wauplin/my-cool-model ./models/model.safetensors
|
|
173
|
+
|
|
174
|
+
# Upload to subdirectory
|
|
175
|
+
hf upload Wauplin/my-cool-model ./models/model.safetensors /vae/model.safetensors
|
|
176
|
+
|
|
177
|
+
# Upload to organization
|
|
178
|
+
hf upload MyCoolOrganization/my-cool-model . .
|
|
179
|
+
|
|
180
|
+
# Upload dataset
|
|
181
|
+
hf upload Wauplin/my-cool-dataset ./data /train --repo-type=dataset
|
|
182
|
+
|
|
183
|
+
# Create PR instead of direct push
|
|
184
|
+
hf upload bigcode/the-stack . . --repo-type dataset --create-pr
|
|
185
|
+
|
|
186
|
+
# Sync with delete (remove remote files not in local)
|
|
187
|
+
hf upload Wauplin/space-example --repo-type=space --exclude="/logs/*" --delete="*"
|
|
188
|
+
|
|
189
|
+
# Upload with custom commit message
|
|
190
|
+
hf upload Wauplin/my-cool-model ./models . --commit-message="Epoch 34/50" --commit-description="Val accuracy: 68%"
|
|
191
|
+
|
|
192
|
+
# Continuous upload every 10 minutes
|
|
193
|
+
hf upload training-model logs/ --every=10
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### hf upload-large-folder
|
|
197
|
+
Optimized upload for very large folders with many files. Uses multi-threading and handles interruptions gracefully.
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
hf upload-large-folder <repo_id> <local_folder> [path_in_repo] [options]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Options:**
|
|
204
|
+
| Option | Description |
|
|
205
|
+
|--------|-------------|
|
|
206
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
207
|
+
| `--revision` | Target branch |
|
|
208
|
+
| `--private` | Create as private repo if doesn't exist |
|
|
209
|
+
| `--include` / `--exclude` | Filter patterns |
|
|
210
|
+
| `--num-workers` | Number of upload threads |
|
|
211
|
+
| `--token` | Authentication token |
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Repository Management
|
|
216
|
+
|
|
217
|
+
### hf repo create
|
|
218
|
+
Create a new repository.
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
hf repo create my-cool-model # Public model
|
|
222
|
+
hf repo create my-cool-dataset --repo-type dataset --private # Private dataset
|
|
223
|
+
hf repo create my-gradio-space --repo-type space --space_sdk gradio # Gradio space
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Options:**
|
|
227
|
+
| Option | Description |
|
|
228
|
+
|--------|-------------|
|
|
229
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
230
|
+
| `--private` | Create as private repository |
|
|
231
|
+
| `--space_sdk` | For spaces: `gradio`, `streamlit`, `docker`, `static` |
|
|
232
|
+
| `--exist-ok` | Do not error if repo already exists |
|
|
233
|
+
| `--resource-group-id` | Enterprise resource group (org-only) |
|
|
234
|
+
| `--token` | Authentication token |
|
|
235
|
+
|
|
236
|
+
**Note:** Use `--space_sdk` (with underscore), not `--space-sdk`.
|
|
237
|
+
|
|
238
|
+
### hf repo delete
|
|
239
|
+
Delete a repository.
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
hf repo delete my-username/my-model
|
|
243
|
+
hf repo delete my-username/my-dataset --repo-type dataset
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
**Options:**
|
|
247
|
+
| Option | Description |
|
|
248
|
+
|--------|-------------|
|
|
249
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
250
|
+
| `--missing-ok` | Do not error if repo does not exist |
|
|
251
|
+
| `--token` | Authentication token |
|
|
252
|
+
|
|
253
|
+
### hf repo move
|
|
254
|
+
Move a repository between namespaces.
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
hf repo move old-namespace/my-model new-namespace/my-model
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
**Options:**
|
|
261
|
+
| Option | Description |
|
|
262
|
+
|--------|-------------|
|
|
263
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
264
|
+
| `--token` | Authentication token |
|
|
265
|
+
|
|
266
|
+
### hf repo settings
|
|
267
|
+
Update repository settings.
|
|
268
|
+
|
|
269
|
+
```bash
|
|
270
|
+
hf repo settings my-username/my-model --private true
|
|
271
|
+
hf repo settings my-username/my-model --gated auto
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
**Options:**
|
|
275
|
+
| Option | Description |
|
|
276
|
+
|--------|-------------|
|
|
277
|
+
| `--gated` | `auto`, `manual`, or `false` |
|
|
278
|
+
| `--private` | Set repo privacy |
|
|
279
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
280
|
+
| `--token` | Authentication token |
|
|
281
|
+
|
|
282
|
+
### hf repo list
|
|
283
|
+
List repositories and print results as JSON.
|
|
284
|
+
|
|
285
|
+
```bash
|
|
286
|
+
hf repo list --repo-type model --limit 5
|
|
287
|
+
hf repo list --repo-type dataset --search "text" --sort downloads
|
|
288
|
+
hf repo list --repo-type space --author my-org --limit 20
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
**Options:**
|
|
292
|
+
| Option | Description |
|
|
293
|
+
|--------|-------------|
|
|
294
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
295
|
+
| `--limit` | Maximum number of results (default: 10) |
|
|
296
|
+
| `--filter` | Filter by tag (repeatable) |
|
|
297
|
+
| `--search` | Search by name |
|
|
298
|
+
| `--author` | Filter by author or org |
|
|
299
|
+
| `--sort` | `created_at`, `downloads`, `last_modified`, `likes`, `trending_score` |
|
|
300
|
+
| `--token` | Authentication token |
|
|
301
|
+
|
|
302
|
+
**Note:** `--sort downloads` is not valid for spaces.
|
|
303
|
+
|
|
304
|
+
### hf repo branch
|
|
305
|
+
Manage repository branches.
|
|
306
|
+
|
|
307
|
+
#### Create a branch
|
|
308
|
+
```bash
|
|
309
|
+
hf repo branch create <repo_id> <branch> [options]
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
hf repo branch create Wauplin/my-cool-model release-v1
|
|
314
|
+
hf repo branch create Wauplin/my-cool-model release-v1 --revision refs/pr/12
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
#### Delete a branch
|
|
318
|
+
```bash
|
|
319
|
+
hf repo branch delete <repo_id> <branch> [options]
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
hf repo branch delete Wauplin/my-cool-model release-v1
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
**Options:**
|
|
327
|
+
| Option | Description |
|
|
328
|
+
|--------|-------------|
|
|
329
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
330
|
+
| `--revision` | Base revision (create only) |
|
|
331
|
+
| `--exist-ok` | Do not error if branch already exists (create only) |
|
|
332
|
+
| `--token` | Authentication token |
|
|
333
|
+
|
|
334
|
+
### hf repo tag
|
|
335
|
+
Manage repository tags.
|
|
336
|
+
|
|
337
|
+
#### Create a tag
|
|
338
|
+
```bash
|
|
339
|
+
hf repo tag create <repo_id> <tag> [options]
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
hf repo tag create Wauplin/my-cool-model v1.0 # Tag main branch
|
|
344
|
+
hf repo tag create Wauplin/my-cool-model v1.0 --revision refs/pr/104 # Tag specific revision
|
|
345
|
+
hf repo tag create bigcode/the-stack v1.0 --repo-type dataset # Tag dataset
|
|
346
|
+
hf repo tag create Wauplin/my-cool-model v1.0 -m "Release v1.0"
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
#### List tags
|
|
350
|
+
```bash
|
|
351
|
+
hf repo tag list <repo_id> [options]
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
hf repo tag list Wauplin/my-cool-model
|
|
356
|
+
hf repo tag list Wauplin/gradio-space-ci --repo-type space
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
#### Delete a tag
|
|
360
|
+
```bash
|
|
361
|
+
hf repo tag delete <repo_id> <tag> [options]
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
```bash
|
|
365
|
+
hf repo tag delete Wauplin/my-cool-model v1.0
|
|
366
|
+
hf repo tag delete Wauplin/my-cool-model v1.0 -y # Skip confirmation
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Common options for all tag commands:**
|
|
370
|
+
| Option | Description |
|
|
371
|
+
|--------|-------------|
|
|
372
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
373
|
+
| `--message` | Tag description (create only) |
|
|
374
|
+
| `--token` | Authentication token |
|
|
375
|
+
| `-y` | Skip confirmation (for delete) |
|
|
376
|
+
|
|
377
|
+
---
|
|
378
|
+
|
|
379
|
+
## Repository Files
|
|
380
|
+
|
|
381
|
+
### hf repo-files delete
|
|
382
|
+
Delete files from a repository.
|
|
383
|
+
|
|
384
|
+
```bash
|
|
385
|
+
hf repo-files delete <repo_id> <path_in_repo>... [options]
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
**Examples:**
|
|
389
|
+
```bash
|
|
390
|
+
# Delete folder
|
|
391
|
+
hf repo-files delete Wauplin/my-cool-model folder/
|
|
392
|
+
|
|
393
|
+
# Delete multiple files
|
|
394
|
+
hf repo-files delete Wauplin/my-cool-model file.txt folder/pytorch_model.bin
|
|
395
|
+
|
|
396
|
+
# Use Unix-style wildcards
|
|
397
|
+
hf repo-files delete Wauplin/my-cool-model "*.txt" "folder/*.bin"
|
|
398
|
+
|
|
399
|
+
# With explicit token
|
|
400
|
+
hf repo-files delete Wauplin/my-cool-model file.txt --token=hf_****
|
|
401
|
+
|
|
402
|
+
# Dataset
|
|
403
|
+
hf repo-files delete Wauplin/my-dataset data/old.parquet --repo-type dataset
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
**Options:**
|
|
407
|
+
| Option | Description |
|
|
408
|
+
|--------|-------------|
|
|
409
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
410
|
+
| `--revision` | Branch to delete from |
|
|
411
|
+
| `--commit-message` | Custom commit message |
|
|
412
|
+
| `--commit-description` | Extended commit description |
|
|
413
|
+
| `--create-pr` | Create a PR instead of direct delete |
|
|
414
|
+
| `--token` | Authentication token |
|
|
415
|
+
|
|
416
|
+
---
|
|
417
|
+
|
|
418
|
+
## Cache Management
|
|
419
|
+
|
|
420
|
+
### hf cache ls
|
|
421
|
+
List cached repositories or revisions.
|
|
422
|
+
|
|
423
|
+
```bash
|
|
424
|
+
hf cache ls # List cached repos
|
|
425
|
+
hf cache ls --revisions # Include revisions
|
|
426
|
+
hf cache ls --filter "size>1GB" --limit 20 # Filter and limit
|
|
427
|
+
hf cache ls --format json # JSON output
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
**Options:**
|
|
431
|
+
| Option | Description |
|
|
432
|
+
|--------|-------------|
|
|
433
|
+
| `--cache-dir` | Cache directory to scan |
|
|
434
|
+
| `--revisions` | Include revisions instead of aggregated repos |
|
|
435
|
+
| `--filter` | Filter expressions (repeatable) |
|
|
436
|
+
| `--format` | `table`, `json`, or `csv` |
|
|
437
|
+
| `--quiet` | Print only IDs (repo IDs or revision hashes) |
|
|
438
|
+
| `--sort` | `accessed`, `modified`, `name`, or `size` (with `:asc`/`:desc`) |
|
|
439
|
+
| `--limit` | Limit the number of results |
|
|
440
|
+
|
|
441
|
+
### hf cache rm
|
|
442
|
+
Remove cached repositories or revisions.
|
|
443
|
+
|
|
444
|
+
```bash
|
|
445
|
+
hf cache rm model/gpt2 # Remove repo from cache
|
|
446
|
+
hf cache rm <revision_hash> # Remove a revision by hash
|
|
447
|
+
hf cache rm model/gpt2 --dry-run # Preview deletions
|
|
448
|
+
hf cache rm model/gpt2 --yes # Skip confirmation
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
**Options:**
|
|
452
|
+
| Option | Description |
|
|
453
|
+
|--------|-------------|
|
|
454
|
+
| `--cache-dir` | Cache directory to scan |
|
|
455
|
+
| `-y, --yes` | Skip confirmation |
|
|
456
|
+
| `--dry-run` | Preview deletions without removing files |
|
|
457
|
+
|
|
458
|
+
### hf cache prune
|
|
459
|
+
Remove detached (unreferenced) revisions from the cache.
|
|
460
|
+
|
|
461
|
+
```bash
|
|
462
|
+
hf cache prune # Prune detached revisions
|
|
463
|
+
hf cache prune --dry-run # Preview deletions
|
|
464
|
+
hf cache prune --yes # Skip confirmation
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
**Options:**
|
|
468
|
+
| Option | Description |
|
|
469
|
+
|--------|-------------|
|
|
470
|
+
| `--cache-dir` | Cache directory to scan |
|
|
471
|
+
| `-y, --yes` | Skip confirmation |
|
|
472
|
+
| `--dry-run` | Preview deletions without removing files |
|
|
473
|
+
|
|
474
|
+
### hf cache verify
|
|
475
|
+
Verify checksums for a repo revision from cache or a local directory.
|
|
476
|
+
|
|
477
|
+
```bash
|
|
478
|
+
hf cache verify gpt2
|
|
479
|
+
hf cache verify gpt2 --revision refs/pr/1
|
|
480
|
+
hf cache verify karpathy/fineweb-edu-100b-shuffle --repo-type dataset
|
|
481
|
+
hf cache verify deepseek-ai/DeepSeek-OCR --local-dir /path/to/repo
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
**Options:**
|
|
485
|
+
| Option | Description |
|
|
486
|
+
|--------|-------------|
|
|
487
|
+
| `--repo-type` | `model`, `dataset`, or `space` |
|
|
488
|
+
| `--revision` | Revision to verify |
|
|
489
|
+
| `--cache-dir` | Cache directory to use |
|
|
490
|
+
| `--local-dir` | Verify files from a local directory |
|
|
491
|
+
| `--fail-on-missing-files` | Error if remote files are missing locally |
|
|
492
|
+
| `--fail-on-extra-files` | Error if local files are absent remotely |
|
|
493
|
+
| `--token` | Authentication token |
|
|
494
|
+
|
|
495
|
+
**Note:** Use either `--cache-dir` or `--local-dir`, not both.
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
## Datasets
|
|
500
|
+
|
|
501
|
+
Interact with datasets on the Hub.
|
|
502
|
+
|
|
503
|
+
### hf datasets ls
|
|
504
|
+
List datasets on the Hub.
|
|
505
|
+
|
|
506
|
+
```bash
|
|
507
|
+
hf datasets ls # List top trending datasets
|
|
508
|
+
hf datasets ls --limit 20 # List more results
|
|
509
|
+
hf datasets ls --search "finepdfs" # Search by name
|
|
510
|
+
hf datasets ls --author HuggingFaceFW # Filter by author/org
|
|
511
|
+
hf datasets ls --filter "task_categories:text-generation" # Filter by tags
|
|
512
|
+
hf datasets ls --sort downloads # Sort by downloads
|
|
513
|
+
hf datasets ls --expand downloads,likes,tags # Include extra fields
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
**Options:**
|
|
517
|
+
| Option | Description |
|
|
518
|
+
|--------|-------------|
|
|
519
|
+
| `--search` | Search query |
|
|
520
|
+
| `--author` | Filter by author or organization |
|
|
521
|
+
| `--filter` | Filter by tags (can be used multiple times) |
|
|
522
|
+
| `--sort` | `created_at`, `downloads`, `last_modified`, `likes`, `trending_score` |
|
|
523
|
+
| `--limit` | Number of results (default: 10) |
|
|
524
|
+
| `--expand` | Comma-separated properties to include |
|
|
525
|
+
| `--token` | Authentication token |
|
|
526
|
+
|
|
527
|
+
**Expandable properties:** `author`, `cardData`, `citation`, `createdAt`, `description`, `disabled`, `downloads`, `downloadsAllTime`, `gated`, `lastModified`, `likes`, `paperswithcode_id`, `private`, `resourceGroup`, `sha`, `siblings`, `tags`, `trendingScore`, `usedStorage`
|
|
528
|
+
|
|
529
|
+
### hf datasets info
|
|
530
|
+
Get info about a specific dataset on the Hub.
|
|
531
|
+
|
|
532
|
+
```bash
|
|
533
|
+
hf datasets info HuggingFaceFW/finepdfs
|
|
534
|
+
hf datasets info HuggingFaceFW/finepdfs --revision main
|
|
535
|
+
hf datasets info HuggingFaceFW/finepdfs --expand downloads,likes,tags
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
**Options:**
|
|
539
|
+
| Option | Description |
|
|
540
|
+
|--------|-------------|
|
|
541
|
+
| `--revision` | Branch, tag, or commit hash |
|
|
542
|
+
| `--expand` | Comma-separated properties to include |
|
|
543
|
+
| `--token` | Authentication token |
|
|
544
|
+
|
|
545
|
+
---
|
|
546
|
+
|
|
547
|
+
## Models
|
|
548
|
+
|
|
549
|
+
Interact with models on the Hub.
|
|
550
|
+
|
|
551
|
+
### hf models ls
|
|
552
|
+
List models on the Hub.
|
|
553
|
+
|
|
554
|
+
```bash
|
|
555
|
+
hf models ls # List top trending models
|
|
556
|
+
hf models ls --limit 20 # List more results
|
|
557
|
+
hf models ls --search "MiniMax" # Search by name
|
|
558
|
+
hf models ls --author MiniMaxAI # Filter by author/org
|
|
559
|
+
hf models ls --filter "text-generation" # Filter by tags
|
|
560
|
+
hf models ls --sort downloads # Sort by downloads
|
|
561
|
+
hf models ls --expand downloads,likes,tags # Include extra fields
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
**Options:**
|
|
565
|
+
| Option | Description |
|
|
566
|
+
|--------|-------------|
|
|
567
|
+
| `--search` | Search query |
|
|
568
|
+
| `--author` | Filter by author or organization |
|
|
569
|
+
| `--filter` | Filter by tags (can be used multiple times) |
|
|
570
|
+
| `--sort` | `created_at`, `downloads`, `last_modified`, `likes`, `trending_score` |
|
|
571
|
+
| `--limit` | Number of results (default: 10) |
|
|
572
|
+
| `--expand` | Comma-separated properties to include |
|
|
573
|
+
| `--token` | Authentication token |
|
|
574
|
+
|
|
575
|
+
**Expandable properties:** `author`, `baseModels`, `cardData`, `childrenModelCount`, `config`, `createdAt`, `disabled`, `downloads`, `downloadsAllTime`, `gated`, `gguf`, `inference`, `inferenceProviderMapping`, `lastModified`, `library_name`, `likes`, `mask_token`, `model-index`, `pipeline_tag`, `private`, `resourceGroup`, `safetensors`, `sha`, `siblings`, `spaces`, `tags`, `transformersInfo`, `trendingScore`, `usedStorage`, `widgetData`
|
|
576
|
+
|
|
577
|
+
### hf models info
|
|
578
|
+
Get info about a specific model on the Hub.
|
|
579
|
+
|
|
580
|
+
```bash
|
|
581
|
+
hf models info MiniMaxAI/MiniMax-M2.1
|
|
582
|
+
hf models info MiniMaxAI/MiniMax-M2.1 --revision main
|
|
583
|
+
hf models info MiniMaxAI/MiniMax-M2.1 --expand downloads,likes,tags,pipeline_tag
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
**Options:**
|
|
587
|
+
| Option | Description |
|
|
588
|
+
|--------|-------------|
|
|
589
|
+
| `--revision` | Branch, tag, or commit hash |
|
|
590
|
+
| `--expand` | Comma-separated properties to include |
|
|
591
|
+
| `--token` | Authentication token |
|
|
592
|
+
|
|
593
|
+
---
|
|
594
|
+
|
|
595
|
+
## Spaces
|
|
596
|
+
|
|
597
|
+
Interact with spaces on the Hub.
|
|
598
|
+
|
|
599
|
+
### hf spaces ls
|
|
600
|
+
List spaces on the Hub.
|
|
601
|
+
|
|
602
|
+
```bash
|
|
603
|
+
hf spaces ls # List top trending spaces
|
|
604
|
+
hf spaces ls --limit 20 # List more results
|
|
605
|
+
hf spaces ls --search "TRELLIS.2" # Search by name
|
|
606
|
+
hf spaces ls --author microsoft # Filter by author/org
|
|
607
|
+
hf spaces ls --filter "3d" # Filter by 3D modeling spaces
|
|
608
|
+
hf spaces ls --sort likes # Sort by likes
|
|
609
|
+
hf spaces ls --expand likes,tags,sdk # Include extra fields
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
**Options:**
|
|
613
|
+
| Option | Description |
|
|
614
|
+
|--------|-------------|
|
|
615
|
+
| `--search` | Search query |
|
|
616
|
+
| `--author` | Filter by author or organization |
|
|
617
|
+
| `--filter` | Filter by tags (can be used multiple times) |
|
|
618
|
+
| `--sort` | `created_at`, `last_modified`, `likes`, `trending_score` |
|
|
619
|
+
| `--limit` | Number of results (default: 10) |
|
|
620
|
+
| `--expand` | Comma-separated properties to include |
|
|
621
|
+
| `--token` | Authentication token |
|
|
622
|
+
|
|
623
|
+
**Note:** `--sort downloads` is not valid for spaces.
|
|
624
|
+
|
|
625
|
+
**Expandable properties:** `author`, `cardData`, `createdAt`, `datasets`, `disabled`, `lastModified`, `likes`, `models`, `private`, `resourceGroup`, `runtime`, `sdk`, `sha`, `siblings`, `subdomain`, `tags`, `trendingScore`, `usedStorage`
|
|
626
|
+
|
|
627
|
+
### hf spaces info
|
|
628
|
+
Get info about a specific space on the Hub.
|
|
629
|
+
|
|
630
|
+
```bash
|
|
631
|
+
hf spaces info enzostvs/deepsite
|
|
632
|
+
hf spaces info enzostvs/deepsite --revision main
|
|
633
|
+
hf spaces info enzostvs/deepsite --expand likes,tags,sdk,runtime
|
|
634
|
+
```
|
|
635
|
+
|
|
636
|
+
**Options:**
|
|
637
|
+
| Option | Description |
|
|
638
|
+
|--------|-------------|
|
|
639
|
+
| `--revision` | Branch, tag, or commit hash |
|
|
640
|
+
| `--expand` | Comma-separated properties to include |
|
|
641
|
+
| `--token` | Authentication token |
|
|
642
|
+
|
|
643
|
+
---
|
|
644
|
+
|
|
645
|
+
## Jobs
|
|
646
|
+
|
|
647
|
+
Run compute jobs on Hugging Face infrastructure.
|
|
648
|
+
|
|
649
|
+
### hf jobs run
|
|
650
|
+
Execute a job.
|
|
651
|
+
|
|
652
|
+
```bash
|
|
653
|
+
hf jobs run <image> <command> [options]
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
**Examples:**
|
|
657
|
+
```bash
|
|
658
|
+
# Basic Python execution
|
|
659
|
+
hf jobs run python:3.12 python -c 'print("Hello from the cloud!")'
|
|
660
|
+
|
|
661
|
+
# With GPU
|
|
662
|
+
hf jobs run --flavor a10g-small pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel \
|
|
663
|
+
python -c "import torch; print(torch.cuda.get_device_name())"
|
|
664
|
+
|
|
665
|
+
# In organization namespace
|
|
666
|
+
hf jobs run --namespace my-org-name python:3.12 python -c "print('Running in org')"
|
|
667
|
+
|
|
668
|
+
# From HF Space
|
|
669
|
+
hf jobs run hf.co/spaces/lhoestq/duckdb duckdb -c "select 'hello world'"
|
|
670
|
+
|
|
671
|
+
# With environment variables
|
|
672
|
+
hf jobs run -e FOO=foo -e BAR=bar python:3.12 python -c "import os; print(os.environ['FOO'])"
|
|
673
|
+
|
|
674
|
+
# With env file
|
|
675
|
+
hf jobs run --env-file .env python:3.12 python script.py
|
|
676
|
+
|
|
677
|
+
# With secrets (encrypted)
|
|
678
|
+
hf jobs run -s MY_SECRET=psswrd python:3.12 python -c "import os; print(os.environ['MY_SECRET'])"
|
|
679
|
+
|
|
680
|
+
# Pass HF_TOKEN implicitly
|
|
681
|
+
hf jobs run --secrets HF_TOKEN python:3.12 python -c "print('authenticated')"
|
|
682
|
+
|
|
683
|
+
# Detached mode (returns job ID immediately)
|
|
684
|
+
hf jobs run --detach python:3.12 python -c "print('background job')"
|
|
685
|
+
```
|
|
686
|
+
|
|
687
|
+
**Options:**
|
|
688
|
+
| Option | Description |
|
|
689
|
+
|--------|-------------|
|
|
690
|
+
| `--flavor` | Hardware configuration (see below) |
|
|
691
|
+
| `--namespace` | Organization namespace |
|
|
692
|
+
| `-e` | Environment variable (KEY=value) |
|
|
693
|
+
| `--env-file` | Load env vars from file |
|
|
694
|
+
| `-s, --secrets` | Secret (encrypted, KEY=value or KEY to read from env) |
|
|
695
|
+
| `--secrets-file` | Load secrets from file |
|
|
696
|
+
| `--detach` | Run in background, print job ID |
|
|
697
|
+
| `--timeout` | Job timeout in seconds |
|
|
698
|
+
|
|
699
|
+
**Available Flavors:**
|
|
700
|
+
| Category | Flavors |
|
|
701
|
+
|----------|---------|
|
|
702
|
+
| CPU | `cpu-basic`, `cpu-upgrade`, `cpu-xl` |
|
|
703
|
+
| T4 GPU | `t4-small`, `t4-medium` |
|
|
704
|
+
| L4 GPU | `l4x1`, `l4x4` |
|
|
705
|
+
| L40S GPU | `l40sx1`, `l40sx4`, `l40sx8` |
|
|
706
|
+
| A10G GPU | `a10g-small`, `a10g-large`, `a10g-largex2`, `a10g-largex4` |
|
|
707
|
+
| A100 GPU | `a100-large` |
|
|
708
|
+
| H100 GPU | `h100`, `h100x8` |
|
|
709
|
+
|
|
710
|
+
### hf jobs uv run
|
|
711
|
+
Run UV scripts (Python with inline dependencies).
|
|
712
|
+
|
|
713
|
+
```bash
|
|
714
|
+
hf jobs uv run <script.py> [options]
|
|
715
|
+
hf jobs uv run <url> [options]
|
|
716
|
+
hf jobs uv run --with <package> python -c "<code>"
|
|
717
|
+
```
|
|
718
|
+
|
|
719
|
+
**Examples:**
|
|
720
|
+
```bash
|
|
721
|
+
hf jobs uv run my_script.py # Run script
|
|
722
|
+
hf jobs uv run my_script.py --repo my-uv-scripts # With persistent repo
|
|
723
|
+
hf jobs uv run ml_training.py --flavor a10g-small # With GPU
|
|
724
|
+
hf jobs uv run --with transformers --with torch train.py # Add dependencies
|
|
725
|
+
hf jobs uv run https://huggingface.co/datasets/user/scripts/resolve/main/example.py
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
### Job Management
|
|
729
|
+
```bash
|
|
730
|
+
hf jobs ps # List running jobs
|
|
731
|
+
hf jobs inspect <job_id> # Check job status and details
|
|
732
|
+
hf jobs logs <job_id> # View job logs
|
|
733
|
+
hf jobs cancel <job_id> # Cancel a running job
|
|
734
|
+
```
|
|
735
|
+
|
|
736
|
+
### Scheduled Jobs
|
|
737
|
+
Schedule jobs to run on a recurring basis.
|
|
738
|
+
|
|
739
|
+
```bash
|
|
740
|
+
# Schedule syntax: @hourly, @daily, @weekly, @monthly, or CRON expression
|
|
741
|
+
hf jobs scheduled run @hourly python:3.12 python -c 'print("Every hour")'
|
|
742
|
+
hf jobs scheduled run "*/5 * * * *" python:3.12 python -c 'print("Every 5 min")'
|
|
743
|
+
hf jobs scheduled run @daily --flavor a10g-small <image> <cmd>
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
**Manage scheduled jobs:**
|
|
747
|
+
```bash
|
|
748
|
+
hf jobs scheduled ps # List scheduled jobs
|
|
749
|
+
hf jobs scheduled inspect <id> # View schedule details
|
|
750
|
+
hf jobs scheduled suspend <id> # Pause a schedule
|
|
751
|
+
hf jobs scheduled resume <id> # Resume a paused schedule
|
|
752
|
+
hf jobs scheduled delete <id> # Delete a schedule
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
**Scheduled UV scripts:**
|
|
756
|
+
```bash
|
|
757
|
+
hf jobs scheduled uv run @hourly my_script.py
|
|
758
|
+
```
|
|
759
|
+
|
|
760
|
+
---
|
|
761
|
+
|
|
762
|
+
## Inference Endpoints
|
|
763
|
+
|
|
764
|
+
Manage Hugging Face Inference Endpoints.
|
|
765
|
+
|
|
766
|
+
### hf endpoints ls
|
|
767
|
+
List endpoints in a namespace.
|
|
768
|
+
|
|
769
|
+
```bash
|
|
770
|
+
hf endpoints ls
|
|
771
|
+
hf endpoints ls --namespace my-org
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
**Options:**
|
|
775
|
+
| Option | Description |
|
|
776
|
+
|--------|-------------|
|
|
777
|
+
| `--namespace` | Namespace to list (defaults to current user) |
|
|
778
|
+
| `--token` | Authentication token |
|
|
779
|
+
|
|
780
|
+
### hf endpoints deploy
|
|
781
|
+
Deploy an endpoint from a Hub model.
|
|
782
|
+
|
|
783
|
+
```bash
|
|
784
|
+
hf endpoints deploy my-endpoint \
|
|
785
|
+
--repo openai/gpt-oss-120b \
|
|
786
|
+
--framework vllm \
|
|
787
|
+
--accelerator gpu \
|
|
788
|
+
--instance-size x4 \
|
|
789
|
+
--instance-type nvidia-a10g \
|
|
790
|
+
--region us-east-1 \
|
|
791
|
+
--vendor aws
|
|
792
|
+
```
|
|
793
|
+
|
|
794
|
+
**Options:**
|
|
795
|
+
| Option | Description |
|
|
796
|
+
|--------|-------------|
|
|
797
|
+
| `--repo` | Model repo to deploy |
|
|
798
|
+
| `--framework` | Serving framework (e.g., `vllm`) |
|
|
799
|
+
| `--accelerator` | Accelerator type (e.g., `cpu`, `gpu`) |
|
|
800
|
+
| `--instance-size` | Instance size (e.g., `x4`) |
|
|
801
|
+
| `--instance-type` | Instance type (e.g., `intel-icl`) |
|
|
802
|
+
| `--region` | Cloud region |
|
|
803
|
+
| `--vendor` | Cloud vendor (e.g., `aws`) |
|
|
804
|
+
| `--namespace` | Namespace for the endpoint |
|
|
805
|
+
| `--task` | Task (e.g., `text-generation`) |
|
|
806
|
+
| `--min-replica` | Minimum replicas |
|
|
807
|
+
| `--max-replica` | Maximum replicas |
|
|
808
|
+
| `--scale-to-zero-timeout` | Minutes before scaling to zero |
|
|
809
|
+
| `--scaling-metric` | Scaling metric |
|
|
810
|
+
| `--scaling-threshold` | Scaling threshold |
|
|
811
|
+
| `--token` | Authentication token |
|
|
812
|
+
|
|
813
|
+
### hf endpoints catalog ls
|
|
814
|
+
List catalog models.
|
|
815
|
+
|
|
816
|
+
```bash
|
|
817
|
+
hf endpoints catalog ls
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
### hf endpoints catalog deploy
|
|
821
|
+
Deploy an endpoint from the catalog.
|
|
822
|
+
|
|
823
|
+
```bash
|
|
824
|
+
hf endpoints catalog deploy --repo openai/gpt-oss-120b --name my-endpoint
|
|
825
|
+
```
|
|
826
|
+
|
|
827
|
+
**Options:**
|
|
828
|
+
| Option | Description |
|
|
829
|
+
|--------|-------------|
|
|
830
|
+
| `--repo` | Catalog model repo |
|
|
831
|
+
| `--name` | Endpoint name (optional) |
|
|
832
|
+
| `--namespace` | Namespace for the endpoint |
|
|
833
|
+
| `--token` | Authentication token |
|
|
834
|
+
|
|
835
|
+
### hf endpoints describe
|
|
836
|
+
Get endpoint details.
|
|
837
|
+
|
|
838
|
+
```bash
|
|
839
|
+
hf endpoints describe my-endpoint
|
|
840
|
+
```
|
|
841
|
+
|
|
842
|
+
**Options:**
|
|
843
|
+
| Option | Description |
|
|
844
|
+
|--------|-------------|
|
|
845
|
+
| `--namespace` | Endpoint namespace |
|
|
846
|
+
| `--token` | Authentication token |
|
|
847
|
+
|
|
848
|
+
### hf endpoints update
|
|
849
|
+
Update endpoint settings.
|
|
850
|
+
|
|
851
|
+
```bash
|
|
852
|
+
hf endpoints update my-endpoint --min-replica 1 --max-replica 2
|
|
853
|
+
hf endpoints update my-endpoint --repo openai/gpt-oss-120b --revision refs/pr/12
|
|
854
|
+
```
|
|
855
|
+
|
|
856
|
+
**Options:**
|
|
857
|
+
| Option | Description |
|
|
858
|
+
|--------|-------------|
|
|
859
|
+
| `--repo` | Model repo |
|
|
860
|
+
| `--revision` | Model revision |
|
|
861
|
+
| `--framework` | Serving framework |
|
|
862
|
+
| `--accelerator` | Accelerator type |
|
|
863
|
+
| `--instance-size` | Instance size |
|
|
864
|
+
| `--instance-type` | Instance type |
|
|
865
|
+
| `--task` | Task |
|
|
866
|
+
| `--min-replica` | Minimum replicas |
|
|
867
|
+
| `--max-replica` | Maximum replicas |
|
|
868
|
+
| `--scale-to-zero-timeout` | Minutes before scaling to zero |
|
|
869
|
+
| `--scaling-metric` | Scaling metric |
|
|
870
|
+
| `--scaling-threshold` | Scaling threshold |
|
|
871
|
+
| `--namespace` | Endpoint namespace |
|
|
872
|
+
| `--token` | Authentication token |
|
|
873
|
+
|
|
874
|
+
### hf endpoints delete
|
|
875
|
+
Delete an endpoint permanently.
|
|
876
|
+
|
|
877
|
+
```bash
|
|
878
|
+
hf endpoints delete my-endpoint --yes
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
**Options:**
|
|
882
|
+
| Option | Description |
|
|
883
|
+
|--------|-------------|
|
|
884
|
+
| `--yes` | Skip confirmation prompt |
|
|
885
|
+
| `--namespace` | Endpoint namespace |
|
|
886
|
+
| `--token` | Authentication token |
|
|
887
|
+
|
|
888
|
+
### hf endpoints pause
|
|
889
|
+
Pause an endpoint.
|
|
890
|
+
|
|
891
|
+
```bash
|
|
892
|
+
hf endpoints pause my-endpoint
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
### hf endpoints resume
|
|
896
|
+
Resume an endpoint.
|
|
897
|
+
|
|
898
|
+
```bash
|
|
899
|
+
hf endpoints resume my-endpoint
|
|
900
|
+
hf endpoints resume my-endpoint --fail-if-already-running
|
|
901
|
+
```
|
|
902
|
+
|
|
903
|
+
### hf endpoints scale-to-zero
|
|
904
|
+
Scale an endpoint to zero.
|
|
905
|
+
|
|
906
|
+
```bash
|
|
907
|
+
hf endpoints scale-to-zero my-endpoint
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
---
|
|
911
|
+
|
|
912
|
+
## Environment
|
|
913
|
+
|
|
914
|
+
### hf env
|
|
915
|
+
Print environment information (useful for bug reports).
|
|
916
|
+
|
|
917
|
+
```bash
|
|
918
|
+
hf env
|
|
919
|
+
```
|
|
920
|
+
|
|
921
|
+
**Output includes:**
|
|
922
|
+
- huggingface_hub version
|
|
923
|
+
- Platform and Python version
|
|
924
|
+
- Token status
|
|
925
|
+
- Cache paths
|
|
926
|
+
- Relevant environment variables
|
|
927
|
+
|
|
928
|
+
### hf version
|
|
929
|
+
Print CLI version.
|
|
930
|
+
|
|
931
|
+
```bash
|
|
932
|
+
hf version
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
---
|
|
936
|
+
|
|
937
|
+
## Environment Variables
|
|
938
|
+
|
|
939
|
+
| Variable | Description | Default |
|
|
940
|
+
|----------|-------------|---------|
|
|
941
|
+
| `HF_TOKEN` | Authentication token | - |
|
|
942
|
+
| `HF_HUB_CACHE` | Cache directory | `~/.cache/huggingface/hub` |
|
|
943
|
+
| `HF_HUB_DOWNLOAD_TIMEOUT` | Download timeout (seconds) | 10 |
|
|
944
|
+
| `HF_HUB_OFFLINE` | Offline mode | False |
|
|
945
|
+
| `HF_HUB_DISABLE_PROGRESS_BARS` | Disable progress bars | False |
|
|
946
|
+
|
|
947
|
+
---
|
|
948
|
+
|
|
949
|
+
## Global Options
|
|
950
|
+
|
|
951
|
+
All commands support:
|
|
952
|
+
- `--help` - Show command help and options
|
|
953
|
+
- `--token` - Override authentication token
|
|
954
|
+
- `--repo-type` - Specify repository type (`model`, `dataset`, `space`)
|