message-injector

Inject information from a source text into a target template with placeholders. This skill MUST ONLY be triggered when the user explicitly uses the keyword "--提取".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "message-injector" with this command: npx skills add nimotea/message-injector-skill/nimotea-message-injector-skill-message-injector

Message Injector

This skill extracts information from a provided source text and injects it into a target template string that contains placeholders.

Trigger Keyword

CRITICAL: This skill should ONLY be used when the user message contains the exact keyword --提取. If this keyword is missing, do NOT use this skill.

When to use this skill

  • When the user provides a source text and a template, AND includes the --提取 keyword.
  • When the user explicitly asks to "extract" information into a template using the --提取 command.

Instructions

  1. Analyze the Source Text: Identify key entities and information in the source text that correspond to the placeholders in the template.
  2. Identify Placeholders: Locate all placeholders in the template string.
  3. Extract and Map: Map the information from the source text to the corresponding placeholders.
  4. Inject: Replace the placeholders in the template with the extracted values.
  5. Output Format:
    • PLAIN TEXT: Return only the final string with the injected values.
    • NO FILE WRITING: Do NOT write the result to any file. Only return the text in the chat response.

Examples

Example 1

Input: --提取 Source: "The meeting is at 2 PM on Friday in Room 101." Template: "Reminder: Meeting at {time} on {day} in {location}."

Output: Reminder: Meeting at 2 PM on Friday in Room 101.

Example 2

Input: --提取 Source: "User john_doe signed up with email john@example.com." Template: "Welcome, {{username}}! We sent a verification link to {{email}}."

Output: Welcome, john_doe! We sent a verification link to john@example.com.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

forguncy-plugin-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

test_skill

import json import tkinter as tk from tkinter import messagebox, simpledialog

Archived SourceRecently Updated
General

neo

Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks. Use Neo when: user asks to check a website, read a web page, post on social media (Twitter/X), interact with any web app, look up information on a specific site, scrape data from websites, automate browser tasks, or when you need to call any website's API. Keywords: website, web page, browse, URL, http, API, twitter, tweet, post, scrape, web app, open site, check site, read page, social media, online service.

Archived SourceRecently Updated
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated