Skip to content
Back to skills

Utils Bitwikiorg Skills Md Ae28fa79

ASecurity

Imported skill _utils from langchain

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agents

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill utils-bitwikiorg-skills-md-ae28fa79 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Utils Bitwikiorg Skills Md Ae28fa79?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Utils Bitwikiorg Skills Md Ae28fa79
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-utils-bitwikiorg-skills-md-ae28fa79/badge)](https://www.skillsdirectory.com/skills/majiayu000-utils-bitwikiorg-skills-md-ae28fa79)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Imported skill _utils from langchain
name: _utils
signature: a23cbada440b01243619a6debd625a3c62c8b7271c74dc4b30fa58576e4b7f6d
source: /a0/tmp/skills_research/langchain/libs/deepagents/deepagents/middleware/_utils.py
---

"""Utility functions for middleware."""

from langchain_core.messages import SystemMessage


def append_to_system_message(
    system_message: SystemMessage | None,
    text: str,
) -> SystemMessage:
    """Append text to a system message.

    Args:
        system_message: Existing system message or None.
        text: Text to add to the system message.

    Returns:
        New SystemMessage with the text appended.
    """
    new_content: list[str | dict[str, str]] = list(system_message.content_blocks) if system_message else []
    if new_content:
        text = f"\n\n{text}"
    new_content.append({"type": "text", "text": text})
    return SystemMessage(content=new_content)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.