본문으로 건너뛰기
cccskills
무료GitHub에 공개

plot

Reactant tag-only data visualization. Use only when execute or execute-one dispatches an exact <@plot> tag from a document; never activate from ordinary chat or another skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant스타 54(GitHub 54 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Plot

Activation Boundary

This is a tag-only worker skill. Use it only after execute or execute-one selects an exact <@plot...> annotation in a target document and hands off its context. Never activate it from an ordinary chat chart request, semantic similarity, or any skill other than those two routers. Without that handoff, do not read data, run code, or create artifacts.

Produce a data visualization grounded in a real data file by generating and executing a Python script, then replace the tag with a figure reference.

Tag

<@plot: chart description, use ``data/results.csv``, save to ``figures/out.png``>

Input

  • File path — the document being processed.
  • Surrounding block — the maximal run of non-blank lines containing the tag; blank lines bound it.
  • Prompt — the desired visualization: chart type, styling, formatting. Its double-backtick context references name the data file and, optionally, the output path.

Workflow

  1. Identify the data file from the prompt's context references and read it first to learn its actual structure (columns, types, row count). Never assume column names. If the prompt has no data reference, fail cleanly and ask the user to add one.
  2. Determine the output path: the output context reference if given, otherwise a figures/ directory next to the document (create it if needed) with a sanitized name derived from the prompt (lowercase, underscores; for example figures/completion_time.png).
  3. Write a complete, self-contained Python script that reads the data file, produces the requested visualization (matplotlib and/or seaborn; pandas for tabular loading), applies the prompt's styling, and saves the figure with dpi=300 and bbox_inches='tight'. Default to clean, publication-ready styling: white background, legible fonts, labeled axes. If the prompt gives no chart type, infer the most appropriate one from the data structure and surrounding context.
  4. Save the script next to the artifact with the same basename and a .py extension (for example figures/completion_time.py), then run it once with the host's Python. Keep the script file so the plot can be regenerated and audited.
  5. Confirm the image file now exists, then replace the <@plot: ...> tag with a format-appropriate reference using a path relative to the document:
    • Markdown: ![description](figures/out.png)
    • LaTeX: \includegraphics{figures/out.png}

Rules

  • Consume only this tag; do not rewrite surrounding prose. Preserve every unrelated tag, <@comment: ...> tag, <@chat-model> block, and escaped literal byte-for-byte.
  • Resolve reference paths relative to the document's directory unless absolute.
  • If the data file cannot be found or read, if plotting libraries are unavailable, or if the script errors, fail cleanly: leave the tag, report the error, and include the generated script so the user can debug.
  • The rendered chart is accepted as produced; Reactant runs no quality check or second model pass on it.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

chat-user

무료

Reactant tag-only document chat. Use only when execute or execute-one dispatches an exact unanswered <@chat-user> tag; never activate from ordinary chat or another skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

cite

무료

Reactant tag-only citation. Use only when execute or execute-one dispatches an exact <@cite> tag from a document; never activate from ordinary chat or another skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

edit

무료

Reactant tag-only text edit. Use only when execute or execute-one dispatches an exact <@edit> tag from a document; never activate from ordinary chat or another skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

execute

무료

Reactant router — read a document, interpret its <@skill> annotations in context, and execute every actionable tag sequentially from top to bottom, re-reading after each one. Use when the user asks to execute, run, or process Reactant tags in a file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

Reactant router — read a document, interpret its annotations in context, and execute only the first actionable <@skill> tag. Use when the user wants to step through Reactant tags one at a time.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

figure

무료

Reactant tag-only figure generation. Use only when execute or execute-one dispatches an exact <@figure> tag from a document; never activate from ordinary chat or another skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a554b554/Reactant542026년 9월 10일 업데이트

a554b554의 스킬 모두 보기

이 스킬의 문제 신고