The Dataset Viewer has been disabled on this dataset.

MshCode Verified Extensions

Extensions for MshCode that a maintainer has reviewed and found harmless.

What "verified" means

  • Only the maintainer can commit to this repository. Every extension and every change arrives as a pull request and is reviewed before it is merged.
  • An extension is verified at the commit that was merged. If its author changes it later, the change goes through a new pull request and is reviewed again.
  • Verified is not a guarantee. A Python extension (ext.py) runs with the same permissions as MshCode, so read the code before you use it.

Install

Copy the extension's folder into ~/.mshcode/extension/ (on Windows: C:\Users\<you>\.mshcode\extension\). Then type /extension in MshCode to see it, turn it off, or delete it.

Submit your own

Your extension is queued for review. Nothing is published until it is merged.

  1. Put your extension in one folder. The folder name is the extension name: lowercase letters, digits, - and _.
  2. Open a pull request: https://huggingface.co/datasets/mondk/MshCode-Ext-Verified/discussions?new_pr=true
  3. Or send it from your machine with huggingface_hub:
from huggingface_hub import HfApi

HfApi().upload_folder(
    repo_id="mondk/MshCode-Ext-Verified",
    repo_type="dataset",
    folder_path="my-extension",
    path_in_repo="my-extension",
    create_pr=True,
)
  1. One extension per pull request. Use the pull request thread for questions.
  2. To update your extension, open a new pull request that changes only your own folder.

Required structure

/
 <extension-name>/
  describe.md*
  LICENSE
  ext.py or custom.json/jsonl or safecmd.json/jsonl*
  other...

* = required. At least one of ext.py, custom.json/custom.jsonl or safecmd.json/safecmd.jsonl must be there. Required files go directly inside the folder, not in a sub-folder.

describe.md starts with a short header, then anything you want to say:

---
name: my-extension
description: one line about what it does
---
What it does, how to use it, what it asks for (commands, tools, hooks).

Plain text only, and keep it small. A LICENSE file is recommended: say clearly how others may use your code.

Rejected

  • Malicious or dangerous code: reading or sending credentials or files without a clear purpose, destructive commands, downloading and running other code
  • Missing required files
  • Wrong location: files outside a single top-level folder, or changes to someone else's folder
  • Obfuscated, minified or otherwise unreadable code
  • Binaries, archives or compiled files
  • Secrets or keys in any file
  • A name that is already taken

Report a problem

Open a Discussion in the Community tab. An extension that turns out to be unsafe is removed.

Downloads last month
16