I'd like to roll my own commands that achieve something similar, in principle, to how \index places the indexed term in a later section, or how footnotes place text in a footer.
\summaryandextended{
I'm just a summary of a result, and should appear in main text.
}
{
I'm a long, complicated derivation of the result above.
I belong in the back portion of the book, read only by the nerdiest of nerds.
}
\gatheredappendix % I collect all of the #2 arguments and display them.
I don't want to duplicate either indexing or footnotes per se; I'm curious how one could make commands that build arbitrary collections of content within a specified section of a document.

\summaryandextendedmultiple times, I assume? – Nov 04 '15 at 15:20tcolorboxand it'ssavelowertofeature as well – Nov 04 '15 at 15:35expl3approach you gave was exactly the general approach I was looking for. – Sean Easter Nov 04 '15 at 15:55