Skip to content
Skillv1.0.0

http_to_https

KSBH plugin module that redirects HTTP requests to HTTPS.

by nu-wa(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from nu-wa/ksbh (crates/ksbh-modules/http_to_https/AGENTS.md). Install upstream with npx skills add nu-wa/ksbh --skill http_to_https. Copyright stays with the author.

http_to_https Module

KSBH plugin module that redirects HTTP requests to HTTPS.

Purpose

This module intercepts HTTP requests and issues a 301 redirect to the HTTPS equivalent.

Implementation

  • Crate type: cdylib (dynamic library)
  • Interface: FFI using the ABI defined in ksbh_core/src/modules/abi/
  • Loaded by: ksbh-core at runtime via dynamic library loading

Key Dependencies

  • ksbh-core: Core types and FFI interface
  • ksbh-types: Shared types

Build

cargo build -p http_to_https

Conventions

Follow the general conventions in the root AGENTS.md.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/nu-wa-ksbh-http-to-https/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

nu-wa-ksbh-http-to-https.ocm.jsonjson
{
  "ocm": "1",
  "id": "nu-wa-ksbh-http-to-https",
  "kind": "skill",
  "name": "http_to_https",
  "description": "KSBH plugin module that redirects HTTP requests to HTTPS.",
  "publisher": "nu-wa",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "KSBH plugin module that redirects HTTP requests to HTTPS."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/nu-wa/ksbh",
      "path": "crates/ksbh-modules/http_to_https/AGENTS.md",
      "ref": "792ca776a2944e14c547af6756d4eff819903d6c",
      "url": "https://github.com/nu-wa/ksbh/blob/792ca776a2944e14c547af6756d4eff819903d6c/crates/ksbh-modules/http_to_https/AGENTS.md",
      "key": "nu-wa/ksbh/crates/ksbh-modules/http_to_https/AGENTS.md"
    }
  },
  "instructions": "# http_to_https Module\n\nKSBH plugin module that redirects HTTP requests to HTTPS.\n\n## Purpose\n\nThis module intercepts HTTP requests and issues a 301 redirect to the HTTPS equivalent.\n\n## Implementation\n\n- **Crate type**: `cdylib` (dynamic library)\n- **Interface**: FFI using the ABI defined in `ksbh_core/src/modules/abi/`\n- **Loaded by**: ksbh-core at runtime via dynamic library loading\n\n## Key Dependencies\n\n- `ksbh-core`: Core types and FFI interface\n- `ksbh-types`: Shared types\n\n## Build\n\n```bash\ncargo build -p http_to_https\n```\n\n## Conventions\n\nFollow the general conventions in the root `AGE",
  "cost": {
    "context_tokens": 152
  }
}

Fetch it by URL: GET /api/v1/registry/nu-wa-ksbh-http-to-https/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.