Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

E1012 Bg Xray

ASecurity

"Use when compute the fluorescent X-ray interaction background for

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentspythonshellexpress

Works with

claude code

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill e1012-bg-xray --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E1012 Bg Xray?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for E1012 Bg Xray
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-e1012-bg-xray/badge)](https://www.skillsdirectory.com/skills/ashfordeou-e1012-bg-xray)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: e1012-bg-xray
description: "Use when compute the fluorescent X-ray interaction background for
  a space detector or instrument per ECSS-E-ST-10-12C §10.4.5: enumerate
  structural and shielding materials in the detector field of view, check
  whether each material's K-shell absorption edge is below the primary
  radiation energy, compute the K-shell photoelectric cross-section and
  fluorescent photon yield per emission line (K-alpha and K-beta) from
  incident fluence, element areal density, fluorescence yield, and detector
  solid angle, then sum all material contributions to form the predicted
  background spectrum and flag any line whose count exceeds the instrument
  background tolerance. Trigger: ecss, e-st-10-system-scope, x-ray-fluorescence,
  xrf, fluorescence-yield, characteristic-x-rays, detector-background,
  photoelectric-cross-section, radiation-background."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: ecss
    reference-only: true
gated: false
domain: space-systems
pack: space-systems
compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"
metadata:
  domain: space-systems
  subdomain: ecss
  tags: [ecss, e-st-10-system-scope, x-ray-fluorescence, xrf, fluorescence-yield, characteristic-x-rays, detector-background, photoelectric-cross-section, radiation-background]
  version: 0.1.0
  author: Aero Agent Skills
---

# ECSS Space Environment — Fluorescent X-ray Interactions Background (space-systems/ecss/e1012-bg-xray)

Use when the task is to compute the fluorescent X-ray interaction background
for a space detector or instrument per ECSS-E-ST-10-12C §10.4.5 — checking
each structural and shielding material against the primary radiation energy,
computing per-line photon yields, and comparing the total background spectrum
against the detector's tolerance threshold.

## Domain quick reference

- **K-shell fluorescence mechanism**: when primary radiation (photons,
  electrons, protons) irradiates a material with energy exceeding the
  element's K-shell absorption edge, inner electrons are ejected. As
  higher-shell electrons fill the vacancy, characteristic X-ray photons are
  emitted at fixed energies (K-alpha, K-beta) unique to that element. These
  secondary photons reach the detector as a non-astrophysical background.
- **Excitation threshold**: a material produces K-shell fluorescence only when
  the primary photon energy is strictly above its K-shell absorption edge
  energy. Materials with edges above the primary energy contribute zero
  fluorescent background for that radiation component.
- **Fluorescence yield (ω_K)**: the fraction of K-shell vacancies that produce
  an X-ray photon rather than an Auger electron. ω_K increases with atomic
  number Z; it is small for light elements (Al: ≈0.04) and substantial for
  heavier structural metals (Fe: ≈0.34, Cu: ≈0.44).
- **Line branching**: the K-alpha line carries approximately 85–88% of the
  K-shell fluorescent emission; K-beta carries the remainder. Both must be
  accounted for in a full background spectrum.
- **Photoelectric cross-section scaling**: above the K-edge, the K-shell
  photoelectric cross-section falls approximately as (E_edge/E)³. Doubling
  the primary energy reduces the cross-section by roughly an order of
  magnitude, so broadband primary spectra must not be collapsed to a single
  worst-case energy.
- **Background count at detector**: the predicted photon count is proportional
  to primary fluence × cross-section × areal density × fluorescence yield ×
  line fraction × (Ω/4π), where Ω is the solid angle subtended by the detector
  active area.

## Workflow

1. **Enumerate materials**: list every structural and shielding material
   in the instrument irradiation geometry. For each material record the
   element symbol and areal density (g/cm²). Accept only elements with
   known K-shell data; reject unrecognized symbols before they enter the
   calculation.
2. **Characterize primary radiation**: specify the primary photon energy (keV)
   and fluence (ph/cm²) integrated over the exposure interval. For broadband
   spectra, sample representative energies spanning the range.
3. **Check excitation per material**: for each material, compare the primary
   energy against the K-shell absorption edge. If the primary energy is at or
   below the edge, the material contributes no K-shell fluorescence at that
   energy — drop the pair from the yield calculation.
4. **Compute photoelectric cross-section**: for excited materials, evaluate
   σ_K(E) = σ_K,edge × (E_edge/E)³ where σ_K,edge is the tabulated
   cross-section just above the K-edge. Units: cm²/g.
5. **Compute per-line fluorescent yield**: for the K-alpha line:
   N_α = Φ × σ_K(E) × ρt × ω_K × f_α × (Ω/4π),
   and for the K-beta line substitute f_β = 1 − f_α. Here Φ is fluence
   (ph/cm²), ρt is areal density (g/cm²), ω_K is the fluorescence yield,
   and Ω is the detector solid angle (sr).
6. **Aggregate background spectrum**: sum K-alpha and K-beta yields across
   all excited materials. Each contributing material adds two line entries
   (energy in keV, predicted count) to the background spectrum.
7. **Flag dominant lines**: compare each line's total yield against the
   detector's background tolerance (expressed as a photon count threshold).
   Flag any line that exceeds the threshold. A detector with at least one
   flagged line requires mitigation — shielding redesign, atomic-number
   grading, or a narrower energy-band exclusion window.

## Pitfalls

- **Omitting the excitation check**: including a material whose K-edge
  exceeds the primary energy overstates the background. The cross-section
  formula is only valid above the edge; applying it below the edge is
  unphysical and must be prevented.
- **Collapsing K-alpha and K-beta to one line**: the two lines differ in
  energy and intensity. Merging them produces incorrect spectral positions
  and misestimates the count rate at each energy, which matters when the
  background assessment feeds a spectral fitting pipeline.
- **Assuming a flat cross-section**: the E⁻³ energy dependence is strong.
  Using the edge value at all primary energies overestimates the background
  for high-energy primaries and underestimates it near the edge.
- **Neglecting solid angle**: a large material areal density with a very
  small detector solid angle fraction may contribute negligible detected
  photons. Recording only the total yield without the solid angle factor
  prevents meaningful comparison to the detector tolerance budget.
- **Unset background tolerance treated as a pass**: if the instrument
  tolerance threshold has not been specified, a zero-flagged result is
  meaningless. The absence of a tolerance value is itself a finding, not
  an indication of compliance.

## Behavior contract (gate 3)

The element-lookup, excitation-check, cross-section, per-line yield,
background-spectrum aggregation, and dominant-line flagging logic is
exercised by the gate 3 contract test: scripts/test_e1012_bg_xray.py
against scripts/e1012_bg_xray_logic.py (stdlib unittest, offline). Run:
python3 scripts/test_e1012_bg_xray.py

## Compliance

- ECSS standards are freely downloadable (ESA); cite the source and
  paraphrase per standards-map.yaml.
- compliance: STANDARDS-REF, gated: false.

Attribution

ashfordeOUashfordeOU
View sourceMore from ashfordeOU →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →